Hi.
Is it possible to find the same string on the same line using RegEx?
Eg. I have a line of text( read from a file)

$_=' [EMAIL PROTECTED] is one and [EMAIL PROTECTED] is next mail';

(it is on the same line)
and I would like to extract both emails.
If I use 

print "$1\n" if /\s(\S+@\S+)\s/;

I will get the first email only.Is there any solution to get all emails 
(substrings) from one line?
Thank you for help.

Ladislav
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Reply via email to