Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: regular expression query

by ccn (Vicar)
on Dec 27, 2008 at 21:45 UTC ( [id://732844]=note: print w/replies, xml ) Need Help??


in reply to regular expression query

use Regexp::Common qw(Email::Address);
use Regexp::Common qw[Email::Address]; use Email::Address; my (@found) = $line =~ /($RE{Email}{Address})/g; my (@addrs) = map $_->address, Email::Address->parse("@found"); print $_, "\n" for @addrs;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-03-29 12:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found