📌  相关文章
📜  在 django 中使用表达式提取电子邮件地址 - Python 代码示例

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

代码示例2
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'