Regex Tester

Flags

2 matches

#MatchStartGroups
1dev@example34
  • 1: dev
  • 2: example
2qa@example53
  • 1: qa
  • 2: example
Matched locally in your browser. Your text stays only on this page.

Test patterns as you type

Write a regular expression, toggle the standard JavaScript flags, and paste any text to see exactly what it matches — with each match's offset and capture groups. Invalid patterns show an inline error instead of crashing. To swap matches for new text, try Find and Replace.