using regex to pull out email addresses

Kun neurogasm at gmail.com
Sat Mar 25 16:24:32 EST 2006


i have a regular expression that searches a string and plucks out email 
addresses however it doesn't work for email addresses w/a subdomain e.g. 
jon at home.jon.com


emails = re.findall('(\w+@\w+\.\w+)', senderlist) <-- my code


is there any way to modify that to include email addresses that also 
have subdomains?



More information about the Python-list mailing list