<tongue_in_cheek>Sure, I'll bite: s/(.*)/reverse($1)/e </tongue_in_cheek>
Hope this helps, although I doubt it will.
antirice
The first rule of Perl club is - use Perl
The ith rule of Perl club is - follow rule i - 1 for i > 1
In reply to Re: regex to reverse string
by antirice
in thread regex to reverse string
by jai
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |