Answers for "regex for validate email"

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
2

email regex

[\w._%+-]+@[\w.-]+\.[a-zA-Z]{2,3}
Posted by: Guest on June-10-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