in reply to
Need help with Regex
print $1 if /1000\s+([0-9]+)/;
[download]
Be careful, it might grab an unintended number if there's another 1000 preceeding the 1000 you intend. But the regexp above grabs the "number after '1000'".
Comment on
Re: Need help with Regex
Download
Code
In Section
Seekers of Perl Wisdom