Regex To Match Multiple Email Addresses Separated By Semicolons

A regular expression that matches multiple Email addresses separated by semicolons in a string. Hopefully, this can help you save time if you’re acquiring emails to drive a promotion, newsletter, etc.

/(([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)(\s*;\s*|\s*$))*/g

Matches:

Non-matches:

See Also: