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; }