Stallion,
Put your contents in monks.txt and give the following one liner.
perl -p -i -e "s/^macros(.)*/macros\ regex/g" monks.txt:-)
In reply to Re: Perl One Liner Regular Expressions
by uday_sagar
in thread Perl One Liner Regular Expressions
by stallion
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |