Regex To Match Comma Separated Emails

A Regular Expression to match and validate a list of comma-separated email addresses.

/^[\W]*([\w+\-.%]+@[\w\-.]+\.[A-Za-z]{2,4}[\W]*,{1}[\W]*)*([\w+\-.%]+@[\w\-.]+\.[A-Za-z]{2,4})[\W]*$/g

Matches:

Non-matches:

See Also: