Looping through files

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
shaferb
Posts: 1
Joined: Thu Feb 18, 2010 2:33 pm

Looping through files

Post by shaferb »

I'd like to loop through some files, open the files up, search for a keyword and change that keyword and then save and close that file.
Is this possible with textpad?
User avatar
Bob Hansen
Posts: 1516
Joined: Sun Mar 02, 2003 8:15 pm
Location: Salem, NH
Contact:

Post by Bob Hansen »

If you can copy/move all the files into the same folder, you might want to try doing that with WildEdit.
Hope this was helpful.............good luck,
Bob
User avatar
kengrubb
Posts: 324
Joined: Thu Dec 11, 2003 5:23 pm
Location: Olympia, WA, USA

Post by kengrubb »

One could open up all the files in TextPad, and then use Replace with a Scope of All Documents. However, I agree with Bob to use WildEdit. IMHO, WildEdit is a more elegant solution for the problem, and it's far easier to use for such a problem.
(2[Bb]|[^2].|.[^Bb])

That is the question.
Post Reply