📌  相关文章
📜  电子邮件正则表达式 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:37.054000             🧑  作者: Mango

代码示例9
#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)