in reply to
Reverse Regexing
$word = 'educated'; $word =~ s/ed$//;
The
$
anchors the pattern to the end of the string.
-sauoq "My two cents aren't worth a dime.";
Comment on
Re: Reverse Regexing
Select
or
Download
Code
In Section
Seekers of Perl Wisdom