Answers for "email regex 2020"

0

email regular expression

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-12-2020
2

email regex

[w._%+-]+@[w.-]+.[a-zA-Z]{2,3}
Posted by: Guest on June-10-2020
3

regex to validate email

# Python
r"(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+.[a-zA-Z0-9-.]+$)"
Posted by: Guest on March-14-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language