0

I have a list of email addresses:

emails = ['[email protected]', '[email protected]', '[email protected]']

I was using:

re.findall(r'\w+@\w+\.\w+', emails)

But I'm not sure how to account for the extended TLD's. How would I make this a conditional match so that we match all email addresses regardless of the ending?

dataviews
  • 2,466
  • 7
  • 31
  • 64

0 Answers0