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
"The first rule of Perl club is you don't talk about Perl club."
In reply to Re: Re: How can I make a regex apply to each line of a file?
by davorg
in thread How can I make a regex apply to each line of a file?
by Kage
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |