MCPcopy Create free account
hub / github.com/codemistic/Web-Development / isEmail

Function isEmail

js-form-validator/form.js:99–101  ·  view source on GitHub ↗
(email)

Source from the content-addressed store, hash-verified

97}
98
99function isEmail(email) {
100 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);
101}

Callers 1

checkInputsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected