in reply to
help with regular exprestion
Check out lookahead patterns
(?=...)
, in your case you would probably need
m/(\w+)(?=\s+roy)/g
Comment on
Re: help with regular exprestion
Select
or
Download
Code
In Section
Seekers of Perl Wisdom