标签:var js 正则 xxxxx 邮箱 test bsp com xxxx 验证
var r = /^((([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6}\;))*(([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6})))$/
var str = ‘xxxx@126.com;123234234@qq.com;xxxxx@xxxxx.con.cn‘;
if (r.test(str))
标签:var js 正则 xxxxx 邮箱 test bsp com xxxx 验证
原文地址:https://www.cnblogs.com/webSong/p/9663612.html