Simon Cripps
asked on
email validation Regex Validation Expression
Hi I have an email address that is not passing my regex validation.
anyone know the correct syntax to deal with
aaa.bbb-@aaa.co.uk it's the dash that is casing the issue
I currently have tried
^([0-9a-zA-Z]([-.\w]*[0-9a -zA-Z])*@( ([0-9a-zA- Z])+([-\w] *[0-9a-zA- Z])*\.)+[a -zA-Z]{2,9 })$
^([a-zA-Z0-9_\-\.]+)@((\[[ 0-9]{1,3}\ .[0-9]{1,3 }\.[0-9]{1 ,3}\.)|(([ a-zA-Z0-9\ -]+\.)+))( [a-zA-Z]{2 ,4}|[0-9]{ 1,3})(\]?) $
anyone know the correct syntax to deal with
aaa.bbb-@aaa.co.uk it's the dash that is casing the issue
I currently have tried
^([0-9a-zA-Z]([-.\w]*[0-9a
^([a-zA-Z0-9_\-\.]+)@((\[[
You could set the input type to "email" and let the browser do the work.
Cd&
Cd&
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
search for : Plugins/Validation/Methods