【发布时间】:2016-08-21 12:16:54
【问题描述】:
我需要找到所有不是info@example.com 的电子邮件才能使用正则表达式配置openwebmail
结果:
abbb@example.com -- true
76312783dd@example.com -- true
8734289347@test.it -- true
info@example.com -- false
【问题讨论】:
-
^(?!info@example\.com$)\w+@\w+\.\w+$
标签: regex regex-negation