How To Validate Email Address Using JavaScript Or Jquery




There are several ways for valdating email address in client side. Please follow the below code for Validating Email Address using javascript

function EmailValidation(emailAddress) {
    var regex = /^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)
*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i; return regex.test(emailAddress); }

Validation on Client Side with Server Side will increase the security of Web Application. This will definitely resolve your Issue.