Answers for "regular expression to check email is valid"

7

email validation regex

const emailRegex = RegExp(
    /^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/
  );
Posted by: Guest on April-05-2020
1

email validation regex

// Simple and very useful regex. Just Pass your email whare is email here
const regex = /\S+@\S+\.\S+/
regex.test(email here)
Posted by: Guest on July-26-2021

Code answers related to "regular expression to check email is valid"

Code answers related to "Javascript"

Browse Popular Code Answers by Language