Search found 8 matches

by ruari
Wed Jul 12, 2006 1:47 pm
Forum: General
Topic: Remove the same line from multiple files?
Replies: 9
Views: 764

Will textpad incorporate Wildedit?

I'm glad you found the opportunity to look up something useful. :-) Yes, I'm sure that will come in handy in the future. I don't use WildEdit, by the way, as its functionality isn't incorporated into TextPad. I use Perl for the sort of thing that I might otherwise use WildEdit for. I just dig it ...
by ruari
Wed Jul 12, 2006 1:11 pm
Forum: General
Topic: Remove the same line from multiple files?
Replies: 9
Views: 764

I just had a look at 'Non-Marking Parentheses' in the Wildedit help file. It all makes sense now! ;-)
by ruari
Wed Jul 12, 2006 12:30 pm
Forum: General
Topic: Remove the same line from multiple files?
Replies: 9
Views: 764

ben_josephs, very nice, I bow before you! ;-) Just a thought. If you usually have the option " '.' does not match a newline character" switched off you could use non-greedy repeats to avoid having to toggle it on first and off after you are done. e.g. ((?:.*?\r\n){28})(.*?\r\n)(.*) as the search ...
by ruari
Wed Jul 12, 2006 11:29 am
Forum: General
Topic: Remove the same line from multiple files?
Replies: 9
Views: 764

You could also do this with Wildedit despite the fact that it does not (appear to) support generating squence numbers. Search for .* and replace with tkx$0 Search for ^tkx.*?\r\n(.*?\r\n){27} and replace with $0tkx . Search for \r\ntkx.*?$ and replace with nothing. Search for ^tkx and replace with ...
by ruari
Wed Jul 12, 2006 7:39 am
Forum: General
Topic: Remove the same line from multiple files?
Replies: 9
Views: 764

Cool, glad it worked for you! :-D One thought though, if you have to do this again in the future you may want to replace the search in line 5 from .*xkz29$\n to \n.*xkz29$ (to ensure it will be deleted) if there is any possiblity that line 29 is the last line. If the files are always over 29 lines ...
by ruari
Tue Jul 11, 2006 7:14 pm
Forum: WildEdit
Topic: Generating sequence numbers
Replies: 1
Views: 955

Generating sequence numbers

Whilst helping someone out with this request I realised there didn't seem to be anything equivalent to the Textpad '\i' replacement option in Wildedit. Is this true? If not is there some other way to generate sequence numbers in Wildedit?
by ruari
Tue Jul 11, 2006 3:48 pm
Forum: General
Topic: Remove the same line from multiple files?
Replies: 9
Views: 764

Actually, you could do it with search and replace by making use of \i to generate sequence numbers. For example: Make a backup of your files, just in case this goes wrong! ;-) Drag all the files into a Textpad window (to open them all). Press F8 to open the search dialog and check the radio button ...
by ruari
Mon Jul 10, 2006 2:17 pm
Forum: General
Topic: Wanted for MAC
Replies: 5
Views: 1159

I'm in a similar position to the original poster. I use a PC at work and I currently use MacOS X at home, although prior to that I used Linux. With Linux I had some success with running Textpad under Wine but for the Mac I have been attempting to get by with Smultron for most of my editing needs ...