PDA

View Full Version : Validate email+name



dekel.y
16 Apr 2014, 11:55 PM
Hi All,
How can I validate email address with the following format:
"Dekel Yaacov <[email protected]>"

I prefer to extend email vtype, how should I manipulate the regex?

Thanks
Dekel

scottmartin
17 Apr 2014, 4:43 AM
A quick Google search provides:
http://stackoverflow.com/questions/14010875/extract-email-and-name-with-regex
http://social.msdn.microsoft.com/Forums/en-US/b3844458-df5e-448f-8eb9-5f266e3ee6aa/regular-expression-for-email-address-and-display-name?forum=regexp