Return to Snippet

Revision: 69579
at July 21, 2015 21:21 by flatearthcomms


Initial Code
function validateEmail(email) {
	var re = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/ 
    var rslt = re.test(email);
    return rslt;
}

Initial URL

                                

Initial Description
Allows for forname.o'[email protected]

Initial Title
Verify email address

Initial Tags
form, email

Initial Language
JavaScript