Encontrando ID de e -mail da String Python
import re
my_str = "Hi my name is John and email address is [email protected] and my friend's email is [email protected]"
emails = re.findall("([a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+)", my_str)
for mail in an email:
print(mail)
Joyous Jellyfish