Page 1 of 1

Replace with wildcard

Posted: Fri Nov 30, 2001 7:55 pm
by Gerald
I have 200+ files where I need to replace strings that contain different numbers.
In one file, the strings is "Nca123 Map" but in the next file it is "Nca124 Map".
I would like to replace the "Nca123 Map" with "Select1 Map". Is this possible, if so, how? Sort of like, "Nca*** Map" to "Select1 Map". (Ignore all quotes in message) I have tried in vain to use regular expressions.

Re: Replace with wildcard

Posted: Fri Nov 30, 2001 8:34 pm
by Roy Beatty
Hit the "Search" link above and look for "perl" for any messages dated after Sept, 2000.

Good luck,

Roy

PS: the Search url: http://www.textpad.com/forum/search.php?f=1

Re: Replace with wildcard

Posted: Fri Nov 30, 2001 9:59 pm
by Mark Schnitzius
Should be easy enough... Just replace

Nca[0-9]* Map

with

Select1 Map

with the Regular Expression checkbox selected.