Email validation using jQuery
I’m new to jQuery and was wondering how to use it to validate email addresses. 35 Answers 35 You can use regular old javascript for that: function isEmail(email) { var regex = /^([a-zA-Z0-9_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/; return regex.test(email); }