MCPcopy Create free account
hub / github.com/AyushSaini00/60minuteJavaScript / checkEmail

Function checkEmail

Form-Validation/app.js:74–77  ·  view source on GitHub ↗
(email)

Source from the content-addressed store, hash-verified

72}
73
74function checkEmail(email){
75 const regex = /^(([^<>()\[\]\\.,;:\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,}))$/;
76 return regex.test(email);
77}

Callers 1

verifyInputsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected