KiwiBrian wrote:
> Using any Search and Replace program what would I enter to remove the
> following string from many files which are all in the same folder:-
>
> <!-- 108p3.htm 08:05 GMT -->
>
> The text is different in every instance, but the opening and closing
> comment bits are the same.
> TIA
> Brian Tozer
Then you can play with something vaguely like:
find2perl . -type f -name "*.html" -print |\
perl -pi.BAK -e "s/<!--.+-->//g;";
....but if you bring down the internet and the governments of several
third-world countries with it, along with your hard disk and your marriage,
don't come crying to me.
--
mbstevens
http://www.mbstevens.com