in reply to
regex help
what rest? Like this??
my ( $num, $rest ) = $img_name =~ /^(\d{6})(.*\.jpg)$/i;
[download]
Boris
Comment on
Re: regex help
Download
Code
In Section
Seekers of Perl Wisdom