General questions about using TextPad
Moderators: AmigoJack , bbadmin , helios , Bob Hansen , MudGuard
kdelacruz
Posts: 4 Joined: Fri Dec 12, 2008 11:12 pm
Post
by kdelacruz » Wed Mar 18, 2009 4:26 am
Hello,
I would like to add a couple lines of text to the end of multiple files all at once. Is there some kind of regular expression that will allow me to do this?
The files are not all the same length, and have different contents.
I appreciate any help
Thanks,
Kathy
kitimat
Posts: 45 Joined: Tue Jul 20, 2004 5:44 pm
Post
by kitimat » Wed Mar 18, 2009 5:46 pm
apart from opening each file separately , then pasting in the text and saving ... I think not.
Have a look at wildedit available from this site. It is designed to do just what you ask.
kdelacruz
Posts: 4 Joined: Fri Dec 12, 2008 11:12 pm
Post
by kdelacruz » Wed Mar 18, 2009 8:13 pm
The copy & paste into each file separately will not be my first choice, since there are a few hundred files
I was hoping there was some kind of code I could use for EOF ... but I will check out Wild Edit - thanks for the advice!
ben_josephs
Posts: 2461 Joined: Sun Mar 02, 2003 9:22 pm
Post
by ben_josephs » Wed Mar 18, 2009 10:16 pm
In WildEdit the regex \z matches the end of the file.