Is there any regex to delete a complete line and replace with another line....
For eg: macros perl macros monks macros one liner macros have to be converted as macros regex macros regex macros regex macros regex
Whatever follows macros whether it is empty or followed by a string have to be replaced with regex and All macros will be at the beginning of the line so we can include ^ character in the regex.
Thanks Monks
In reply to Perl One Liner Regular Expressions by stallion
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |