MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / isEmail

Function isEmail

assets/js/Form-validation/script.js:61–63  ·  view source on GitHub ↗
(email)

Source from the content-addressed store, hash-verified

59}
60
61function isEmail(email) {
62 return /^(([^<>()\[\]\\.,;:\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,}))$/.test(email);
63}

Callers 1

checkInputsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected