Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: finding emails

by tachyon (Chancellor)
on Nov 11, 2002 at 23:08 UTC ( #212136=note: print w/ replies, xml ) Need Help??


in reply to finding emails

Incomprehensible. Perhaps start here...

while (<DATA>) { my @emails = $_ =~ m/([^\s<>]+\@[^\s<>]+)/g; $emails{$_}++ for @emails; } use Data::Dumper; print Dumper \%emails; __DATA__ go@away.com<new@foo.com>spam@me.net foo@baz.bar bar@ppp.ipsec wid@get.com jfreeman@[nospam]tassie.net.au

cheers

tachyon

s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print


Comment on Re: finding emails
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://212136]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (16)
As of 2014-11-26 14:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (171 votes), past polls