Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Can someone give me a fairly workable email regex with an example of how to pull back an email address from a $content variable with HTML coming from a given page?
use LWP::Simple; my $content = get($url); my @emails = $content =~ m//g;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: An email regex
by chromatic (Archbishop) on Apr 06, 2007 at 20:53 UTC | |
|
Re: An email regex
by kyle (Abbot) on Apr 06, 2007 at 19:54 UTC | |
|
Re: An email regex
by barvin (Beadle) on Apr 06, 2007 at 20:07 UTC | |
by fenLisesi (Priest) on Apr 07, 2007 at 09:19 UTC | |
|
Re: An email regex
by Herkum (Parson) on Apr 07, 2007 at 03:44 UTC | |
|
Re: An email regex
by bradcathey (Prior) on Apr 07, 2007 at 14:38 UTC | |
|
Re: An email regex
by blazar (Canon) on Apr 07, 2007 at 10:38 UTC |