Finding top and end of files
Posted: Mon Sep 09, 2002 10:35 pm
Is there a regular expression to match the start and end of a file?
I'd like to wrap some html round a whole bunch of text files (find the start, replace with <head> etc., etc., ). This must be such a common situation - sure it could be done using Perl to loop through each file line by line but multifile search and replace in textpad would b eso muxch more convenient!
I'd like to wrap some html round a whole bunch of text files (find the start, replace with <head> etc., etc., ). This must be such a common situation - sure it could be done using Perl to loop through each file line by line but multifile search and replace in textpad would b eso muxch more convenient!