Skip to content

Instantly share code, notes, and snippets.

@codigoconjuan
Created September 19, 2022 23:46
Show Gist options
  • Save codigoconjuan/b9afdae0a22f58f0de7fa754acc71699 to your computer and use it in GitHub Desktop.
Save codigoconjuan/b9afdae0a22f58f0de7fa754acc71699 to your computer and use it in GitHub Desktop.
Validar emails
let regex = new RegExp("([!#-'*+/-9=?A-Z^-~-]+(\.[!#-'*+/-9=?A-Z^-~-]+)*|\"\(\[\]!#-[^-~ \t]|(\\[\t -~]))+\")@([!#-'*+/-9=?A-Z^-~-]+(\.[!#-'*+/-9=?A-Z^-~-]+)*|\[[\t -Z^-~]*])");
@superalfon19
Copy link

love u profe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment