Answers for "avascript regex email"

0

avascript regex email

function Validate (InputEmail){
  if (InputEmail.match(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/)) {
    return true; 
  } else {
    return false; 
  }
}

console.log(Validate("[email protected]"));
Posted by: Guest on July-18-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language