Title |
Test
Find
Validate Multiple Email Addresses
|
Expression |
^((\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*)\s*[,]{0,1}\s*)+$ |
Description |
This will validate multiple email addresses that are comma delimited. You can change it to use commas or semilcolons. If you have to worry about a lot of special characters, you may have to edit it a little bit. It allows white space before and after the comma. |
Matches |
|
Non-Matches |
|
Author |
Rating:
Dan Lorenz
|
Source |
|
Your Rating |
|
Title: WRONG WRONG WRONG
Name: Randal L. Schwartz
Date: 9/21/2007 8:03:37 PM
Comment:
This regex is broken. The author has not paid attention to standard email addresses, as defined by RFC822 and RFC2822. Please read http://www.stonehenge.com/merlyn/UnixReview/col60.html for details.