Search found 7 matches

by jimbo2112
Mon Sep 28, 2009 3:31 pm
Forum: General
Topic: Characters are being lost when opening UTF8 file!
Replies: 1
Views: 294

Characters are being lost when opening UTF8 file!

Hi All, I have an XML file which I am opening in TextPad to do reg-ex work as XML Spy is hopeless at reg-ex. When I open the XML file in TextPad I get the following warning: Warning!: "file.xml" contains characters that do not exist in code page 1252 (ANSI - Latin I). They will be converted to the ...
by jimbo2112
Mon Sep 28, 2009 10:31 am
Forum: General
Topic: Can we search and replace in multiple files?
Replies: 3
Views: 517

Hi Bob, What I was looking for was something more like a ctrl f8 key to complement the ctrl f5. There's a search in files, but no search and replace. I would do the replace over multiple files by opening them all, but I literally have thousands of small XML files which need the routine performed on ...
by jimbo2112
Fri Sep 25, 2009 3:29 pm
Forum: General
Topic: Can we search and replace in multiple files?
Replies: 3
Views: 517

Can we search and replace in multiple files?

Hi All,

I need to do S&R in multiple files. ctrl-f5 does not cover replace, only find!

Many thanks

It's just a simple string, reg-ex is not needed.

Thanks!

Jimbo
by jimbo2112
Tue Jun 16, 2009 5:48 pm
Forum: General
Topic: How to find a specific number of occurrences of a character
Replies: 5
Views: 384

Cheers Ben, Handy to know.
by jimbo2112
Tue Jun 16, 2009 5:11 pm
Forum: General
Topic: How to find a specific number of occurrences of a character
Replies: 5
Views: 384

Indeed I was in the first post.

So in POSIX, the default match value is 1?
by jimbo2112
Tue Jun 16, 2009 4:41 pm
Forum: General
Topic: How to find a specific number of occurrences of a character
Replies: 5
Views: 384

Panic over. I had the correct reg-ex in the first place, but for some reason the POSIX option was switched off in preferences. In case anyone was wondering, the actual search string with POSIX in place would not need the `\` before the `(`:

([a-z]{1})([A-Z]{1})

Thanks anyways!
by jimbo2112
Tue Jun 16, 2009 3:16 pm
Forum: General
Topic: How to find a specific number of occurrences of a character
Replies: 5
Views: 384

How to find a specific number of occurrences of a character

Hi All, Searched to no avail on this one. As I understand, the reg ex for catching one occurrence of a character you would search with {1}. TextPad does not like this. My aim is to find things like this: What a BigProblem this is Using \([a-z]{1}\)\([A-Z]{1}\) and replace with \1 \2 so, the result ...