Given a list of e-mail addresses:
list = ('First Last <first@example.com>' , 'name@example.org')
some of which contain first and last name, others which just contain an e-mail address, how can I loop through the list and extract a first and last name (if they exist), and the email address?
Thanks.
1 Answer