我的表单中有一个电子邮件字段。用户可以同时输入多个电子邮件ID,如下面的格式在多个电子邮件ID字段中允许使用撇号
[email protected],[email protected]
[email protected], [email protected]
[email protected];[email protected]
[email protected]; [email protected]
我这样做了。
现在我想允许aj’’[email protected], ab’’[email protected],
这些类型的邮件ID也。我试过,但我无法找到如何在电子邮件验证中允许撇号。任何人都可以帮助我?
小提琴链接:http://jsfiddle.net/WwRVy/8/
看起来你已经做到了这一点,从您的小提琴... – 2013-05-02 12:45:38
没有现在我的小提琴是不容aj''[email protected],AB” '[email protected] – vinothini 2013-05-02 12:48:27
这是因为这些字符不是撇号,它们是奇怪的浮动逗号事物。没有人会进入这些。使用实际的撇号,你当前的正则表达式很好:'aj''[email protected],ab''coy @ css.com' – 2013-05-02 12:52:58