Answers for "regex pattern for email address"


email validation regex

const emailRegex = RegExp(
Posted by: Guest on April-05-2020

regex validate email

function validateEmail(email) {
    const re = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
    return re.test(String(email).toLowerCase());
Posted by: Guest on July-06-2020

regex email address

Posted by: Guest on August-21-2020

Code answers related to "regex pattern for email address"

Code answers related to "Javascript"

Browse Popular Code Answers by Language