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))
js 正则验证多个邮箱,用;隔开的那种
原文:https://www.cnblogs.com/webSong/p/9663612.html