in reply to
multi-matching
use the /g modifier.
m/(\S*@/s*)/g
[download]
note: for your purposes, that regular expression might work. just be aware that your test is by no means complete.
jeff
Comment on
Re: multi-matching
Download
Code
In Section
Seekers of Perl Wisdom