Skip to content

Instantly share code, notes, and snippets.

@Klerith
Created July 10, 2021 15:32
Show Gist options
  • Star 24 You must be signed in to star a gist
  • Fork 9 You must be signed in to fork a gist
  • Save Klerith/d2d819ae378ef5a1980fde3557b64d1d to your computer and use it in GitHub Desktop.
Save Klerith/d2d819ae378ef5a1980fde3557b64d1d to your computer and use it in GitHub Desktop.
String pattern = r'^(([^<>()[\]\\.,;:\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,}))$';
RegExp regExp = new RegExp(pattern);
@EdgarG15
Copy link

EdgarG15 commented May 3, 2023

Gracias Fernando =)

@JoseCerda11
Copy link

Muchisimas gracias :)

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