Split the emails on a comma and validate the entries
var x = getEmails();
var emails = x.split(",");
emails.forEach(function (email) {
validate(email.trim());
});
Where getEmails() gets the emails from the page, and validate runs your regex against the emails
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…