Answers for "strong email regex"

7

email validation regex

const emailRegex = RegExp(
    /^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/
  );
Posted by: Guest on April-05-2020
0

email regex

// This is by far the best regex used for email
^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$
Posted by: Guest on September-16-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language