This could be done with regular expressions, but it would be much easier to use split to separate the fields into separate variables. If you insist on using regular expressions, just use the e modifier, so that the replacement pattern is an expression
In reply to Re: Advance Regular expression questions
by jethro
in thread Advance Regular expression questions
by rajeshatbuzz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |