Dynamic replacement

General questions about using WildEdit

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
merlsub
Posts: 3
Joined: Thu Aug 19, 2004 3:10 am

Dynamic replacement

Post 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
User avatar
bbadmin
Site Admin
Posts: 878
Joined: Mon Feb 17, 2003 8:54 pm
Contact:

Post 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
Post Reply