Whatever
 04.04.2015 19:04

Статьи Email validation with JavaScript

Regex way for validate email in JavaScript:

function isWrongEmail(email){
	var pattern = /^[\w\-\.\+]+\@[a-zA-Z0-9\.\-]+\.[a-zA-z0-9]{2,4}$/;
	return email.match(pattern);
}

Leave a Reply

*