📅  最后修改于: 2022-03-11 15:00:06.348000             🧑  作者: Mango
#found on stackoverflow
([a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+)
#to put all mails in a list from a string that refers to an html text code
emails = re.findall("([a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+)", html_text)