in reply to
Regex problem
I think you are looking for
grep
. See
perldoc -f grep
.
Update: not fast enough...
Comment on
Re: Regex problem
Select
or
Download
Code
In Section
Seekers of Perl Wisdom