Skip to content

Instantly share code, notes, and snippets.

View javier-henao's full-sized avatar
:octocat:
Studying

Javier Henao javier-henao

:octocat:
Studying
View GitHub Profile
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);