Page 1 of 1

Dynamic replacement

Posted: Tue Dec 14, 2004 5:10 pm
by merlsub
Is there a way to replace with a new string that is dynamic? Using WildEdit, I have identified my RE in all of my files. I want to replace this RE in each file with an incrementing value in each file. That is, I want my RE replacement to result in String1 in file 1, String2 in file 2, String3 in file 3, etc.... essentially Stringn where n increments.

Any idea on how to accomplish that? Certainly someone has had the need to do such a thing before...

Is there any macro ability in WildEdit?

Thanks in advance!
Merlsub

Posted: Thu Dec 16, 2004 3:55 pm
by bbadmin
I would use a scripting language, such as Perl to, solve such problems. A free Perl interpreter is available from here:

www.activestate.com/Products/ActivePerl/

Though you'll probably need to buy a textbook, before you can use it. :wink:

Keith MacDonald
Helios Software Solutions