>>> senderlist="na nu [EMAIL PROTECTED] hu [EMAIL PROTECTED] [EMAIL PROTECTED]
>>> fa hu"
>>> print [ s[0] for s in re.findall("(\w+@(\w+\.)+\w+)",senderlist) ]
['[EMAIL PROTECTED]', '[EMAIL PROTECTED]']
--
http://mail.python.org/mailman/listinfo/python-list
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.
[EMAIL PROTECTED]
emails = re.findall('([EMAIL PROTECTED])', senderlist) <-- my code
is there any way to modify that to include email addresses that