in reply to Re: How can I make a regex apply to each line of a file?
in thread How can I make a regex apply to each line of a file?

That's the kind of thing that Perl command line options make very easy:

perl -i.bak -pe 's/something/something else/g' input.txt
--
<http://www.dave.org.uk>

"The first rule of Perl club is you don't talk about Perl club."