in reply to
help required for regexp
If your example is not a simplified case to illustrate your problem you could also use
$str =~ s/(\d)\d+/$1/g;
[download]
Comment on
Re: help required for regexp
Download
Code
In Section
Seekers of Perl Wisdom