Test regular expressions live, with match highlighting and groups.
A live regular-expression tester. As you edit the pattern, matches are highlighted inline in your test string, every match and its capture groups are listed with positions, and a running count shows how many matches were found.
All five JavaScript flags are one-click toggles: global (g), ignore-case (i), multiline (m), dotall (s) and unicode (u). An optional replacement field with $1/$2 references previews the substituted result.
g, i, m, s and u. Toggle each independently. The engine is the browser's native JavaScript RegExp.
Yes. Every match lists its numbered groups ($1, $2, …) and the index where it occurred.
Yes. Add a replacement string with $1/$2 references and the substituted output appears live.
Every calculation happens on this page, in your own browser. Your input is never sent to a server and never logged, which also means the tool keeps working when you are offline.