Regex for email validation

Contains tips for configurators working with Aware IM
Post Reply
hpl123
Posts: 2382
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Regex for email validation

Post by hpl123 »

Hi all,
Here is regex or email adress validation (use in matches function):

Code: Select all

^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$
Henrik (V8 Developer Ed. - Windows)
Post Reply