There are several problems with your code, for example that you search for only one email address per line, and that your definition of an email address is quite questionable.
You can use CPAN modules like Email::Find, which do most of the work for you, and probably don't suffer from these problems.
In reply to Re: Extracting email addresses
by moritz
in thread Extracting email addresses
by natol44
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |