Return to Snippet

Revision: 849
at August 15, 2006 08:03 by arcturus


Initial Code
function checkMail(email){
	var filter  = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
	if (filter.test(email)) {
		return true;
	}
	return false;
}

Initial URL

                                

Initial Description
Simple javascript email validation

Initial Title
Email javascript validation

Initial Tags
email, javascript

Initial Language
JavaScript