RegEx for multiple email validation

Validate multiple emails in textbox by using regular expression

For validating multiple emails in TextBox, we can use following regular expression. We are separating emails by using delimiter ';'

^((\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*)\s*[;]{0,1}\s*)+$

If you want to use delimiter ',' then use this

^((\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*)\s*[,]{0,1}\s*)+$

and if you want to use both delimiter ',' and ';' then use this

^((\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*)\s*[;,.]{0,1}\s*)+$

So by using above regular expression you can validate single email as well as multiple emails.