Regular Expression: comma-delimited email addresses
Posted on 2004-09-02
I have been using this RegEx for email address validation and it is working very well:
Now, I would like to validate comma-delimited input of multiple email addresses into a textbox in order to throw an error message when there is
- a wrong email address in there
- a delimiter missing
- a wrong delimiter being used.
It should accept anything that has strings matching the RegEx above and delimited by spaces (doesn't matter how many, could be none) and ONE comma. Any ideas? Thanks!