function validateEmail(sEmail) {
    var filter = /^[\w\-\.\+]+\@[a-zA-Z0-9\.\-]+\.[a-zA-z0-9]{2,4}$/;
    if (filter.test(sEmail)) {
        return true;
    }
    else {
        return false;
    }
}
// Function that validates email address through a regular expression.
Function that validates email address through a regular expression.
Function that validates email address through a regular expression .
function validateEmail(sEmail) {
    var filter = /^[\w\-\.\+]+\@[a-zA-Z0-9\.\-]+\.[a-zA-z0-9]{2,4}$/;
    if (filter.test(sEmail)) {
        return true;
    }
    else {
        return false;
    }
}
function validateEmail ( sEmail ) { var filter = / ^[\w\-\.\+]+\@[a-zA-Z0-9\.\-]+\.[a-zA-z0-9]{2,4}$ / ; if ( filter . test ( sEmail ) ) { return true ; } else { return false ; } }
Function that validates email address through a regular expression.
Function that validates email address through a regular expression .