Answers for "valid email with regex"

16

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
2

regex for email

^[w-.]+@([w-]+.)+[w-]{2,4}$
//will validate for:  [email protected] etc
Posted by: Guest on April-12-2021
2

regex for email

// Author : Mahmmoud Kinawy 

/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:.[a-zA-Z0-9-]+)*$/
Posted by: Guest on August-14-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language