Answers for "validate email with domain in angular6"

2

angular email regular expression

validateEmail(email) {
 const regularExpression = /^(([^<>()\[\]\\.,;:\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 regularExpression.test(String(email).toLowerCase());
}
Posted by: Guest on July-18-2020
0

validate email with domain in angular6

[email protected]
Posted by: Guest on June-08-2021

Code answers related to "validate email with domain in angular6"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language