📌  相关文章
📜  查找电子邮件地址 pytho - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:24.830000             🧑  作者: Mango

代码示例1
import re
line = "should we use regex more often? let me know at  321dsasdsa@dasdsa.com.lol"
match = re.search(r'[\w\.-]+@[\w\.-]+', line)
match.group(0)
'321dsasdsa@dasdsa.com.lol'