s/\d+(\d\d)\./$1/; # no need for the (\d+) at the end # being replaced by $2 (itself!)
_____________________________________________________
Jeff[japhy]Pinyan:
Perl,
regex,
and perl
hacker.
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;
In reply to Re: substr on $_
by japhy
in thread substr on $_
by gisrob
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |