Regex Playground

Utilities

/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/gm

Test String

Regex is evaluated using JavaScript's RegExp engine.

\d digit\w word. any char^ start$ end( ) group
No matches for this regex and text.
  • ^Start of string
  • $End of string
  • [a-zA-Z0-9._%+-]Character class (one of: a-zA-Z0-9._%+-)
  • [a-zA-Z0-9.-]Character class (one of: a-zA-Z0-9.-)
  • [a-zA-Z]Character class (one of: a-zA-Z)
  • +One or more of the previous token
  • {2,}Quantifier (repeat the previous token a specific number of times)
  • .Any character (except newline by default)