0

I have a list of email addresses:

emails = ['email@google.com', 'email@happytown.aau.edu', 'fox.trot@nickle.com.uk']

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
  • 1,715
  • 4
  • 16
  • 49

0 Answers0