Regex Lab

Test + Explain Patterns

Pattern Inputs

Match Preview

Contact us: hi@OfflineTools.pro or support@example.com. Invalid one: name@localhost
2 matches
IndexValueGroups
12hi@OfflineTools.pro-
35support@example.com-

Pattern Explanation

  • `.` matches any character (except newline without `s`).
  • `+` means one or more of the previous token.
  • `{m,n}` sets explicit repetition ranges.
  • `[...]` defines a character class.