邮箱
[\w!#$%&'*+/=?^_`{|}~-]+(?:\.[\w!#$%&'*+/=?^_`{|}~-]+)*@(?:[\w](?:[\w-]*[\w])?\.)+[\w](?:[\w-]*[\w])?
URL
[a-zA-z]+://[^\s]*
国内电话
\d{3}-\d{8}|\d{4}-\{7,8}
18位身份证
^(\d{6})(\d{4})(\d{2})(\d{2})(\d{3})([0-9]|X)$
原文链接:https://www.f2er.com/regex/358511.html