Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Extract names and emails from a text file' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Extract names and emails from a text file
Authored by: arcticmac on Feb 20, '13 10:08:46AM
You want to be careful because both
From: User Name <email@site.com>
and
From: email@site.com
Are valid ways to address an email, where the second method doesn't include the username. In a little bit I'll throw together an example of how to deal with this in perl or maybe sed...
Edited on Feb 20, '13 10:10:27AM by arcticmac


[ Reply to This | # ]