Search found 327 matches

by SteveH
Fri May 27, 2011 2:22 pm
Forum: General
Topic: find words with the same beginning
Replies: 13
Views: 1097

The other thing to try is to make a TextPad file containing your example text and run the search and replace on that. bla bla bla ab-cdef-gh-01 bla bla bla bla bla ab-ijkl-gh-07 bla bla bla ab-ijkl-gh-08 bla bla bla bla bla ab-mnop-gh-003 bla bla bla bla bla ab-qrst-gh-05 bla bla: ab-uvw-gh-01 bla b...
by SteveH
Wed May 18, 2011 11:45 am
Forum: General
Topic: find words with the same beginning
Replies: 13
Views: 1097

what i am trying to do is to copy a whole text and just search for the names and copy them in a new textfile... Can you provide a sample of the file format to see what is required? If you can show this as Code to keep the formatting it will help. To provide a solution you need to provide some guida...
by SteveH
Tue May 17, 2011 11:28 am
Forum: General
Topic: find words with the same beginning
Replies: 13
Views: 1097

I've just re-read your reply and realised that you probably don't want to cut all the lines that contain the 'ab-' strings as I first thought. ben_josephs answer is appropriate if you want to list them. I'll leave my incorrect answer up in case it's of interest. As an aside, is there a way to delete...
by SteveH
Tue May 17, 2011 11:23 am
Forum: General
Topic: find words with the same beginning
Replies: 13
Views: 1097

If you perform the following search and replace it will delete all (nearly all - see below) lines containing the string 'ab-' Find what: ^.*ab-.*\n Replace with: [nothing] [ X ] Regular expression Replace All In the preferences make sure you have enabled POSIX regular expressions. This saerches for ...
by SteveH
Tue May 03, 2011 11:32 am
Forum: General
Topic: delte string plus /n
Replies: 6
Views: 324

I think it needs to be a '\' before the 'n'.

You are still using the forward slash '/'.
by SteveH
Mon May 02, 2011 11:47 am
Forum: General
Topic: Delete each line with less than 4 words and...
Replies: 6
Views: 543

Can you provide some more information on the sort of text you want to search? Is this structured data or English prose? Is it punctuated in some way?

If this is prose rather than data then words can be separated by spaces, commas, semi colon, question marks etc.

Please post an example.
by SteveH
Sun Apr 17, 2011 6:53 pm
Forum: Enhancement Suggestions
Topic: Poll: What font do you use in TextPad
Replies: 3
Views: 619

Droid Sans is an excellent (free) font.
by SteveH
Tue Mar 22, 2011 12:28 pm
Forum: General
Topic: Fundamental question about find-replacement with RegEx
Replies: 3
Views: 551

MudGuard's reply shows how to achieve what you set out to do here but it may be that all you are needing to do is put another line feed at the end of each line.

In which case you can search for '$' (the end of line) and use the replacement expression '\n' to add an extra line.

Hope this helps.
by SteveH
Wed Mar 09, 2011 9:54 pm
Forum: General
Topic: UTF-8 document brings ANSI error
Replies: 14
Views: 5968

Am I correct to interpret it as despite the fact that TextPad Save dialog allows one to say a text file in or ASCII or ANSI or UTF-8, it does not support UTF-8 natively and still needs to translate the characters into code pages? As Helios say it themselves, I think it boils down to... it is only p...
by SteveH
Tue Mar 08, 2011 10:07 pm
Forum: General
Topic: UTF-8 document brings ANSI error
Replies: 14
Views: 5968

I think what ben_josephs is referring to is the difference between the character set (i.e the supported symbols) and how they are represented (or encoded). The two terms are often used interchangeably. Loking at the '€' symbols as an example: http://img.skitch.com/20110308-ddic9387subqxa4x2ey1j8qe...
by SteveH
Sat Feb 26, 2011 10:23 am
Forum: General
Topic: UTF-8 document brings ANSI error
Replies: 14
Views: 5968

Rather than advertise competing products I've sent you a DM
by SteveH
Thu Feb 24, 2011 12:46 pm
Forum: General
Topic: Highlighting Question
Replies: 3
Views: 537

You mean this kind of idea? http://img.skitch.com/20110224-e8agjp8i81y966xdbw5n8jrkpa.png This is something I've previously tried to do in TextPad but I don't think it's possible with the way syntax files are currently configured. The example above uses a competing product which won't be named that ...
by SteveH
Wed Feb 23, 2011 12:36 pm
Forum: General
Topic: UTF-8 document brings ANSI error
Replies: 14
Views: 5968

I think you are encoutering this problem from the TextPad help file: it is only possible to edit, without data loss, files containing characters from the implied code page. Other characters will be converted into a system default character (normally "?"), if you confirm that is what you wa...
by SteveH
Wed Feb 23, 2011 12:32 pm
Forum: General
Topic: Document or link for Regular expressions
Replies: 1
Views: 169

I have two sources I would recommend for regular expression guidance. The first is TextPad's own help file which is a good introduction to regular expression syntax. The best starting point is the topic 'How to Use Regular Expressions' whcih links to 'Regular Expressions' and 'Replacement Expression...
by SteveH
Tue Feb 22, 2011 12:33 pm
Forum: Enhancement Suggestions
Topic: tab chars need to be bolder
Replies: 2
Views: 247

why don't you just change the colour of these characters? The size of the characters is hard-coded so there's not much you can do there - that is down to Helios. I've just changed the colour of them to a nice bright yellow via preferences and then the text colour for the document class. https://img....