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
  • 2,466
  • 7
  • 31
  • 64

0 Answers0