in reply to
Need a regex
I'd definitely use
split
in this case, but a possible regex would be:
if ($line =~ /\s+([0-9,]+)\s/) { $number = $1; }
[download]
Comment on
Re: Need a regex
Download
Code
In Section
Seekers of Perl Wisdom