And now I see that I can just reverse the string first, then reverse it again after the replace.
I thought maybe there was an option for the s operation that would go in reverse order (like how the g option makes it global in s/a/X/g )
Thanks for your replies.
In reply to Re^2: matching operator question
by redss
in thread matching operator question
by redss
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |