Back to Tools

Regex Tester

Test regular expressions in real time. See all matches and capture groups, highlight in text, and try replace. Uses JavaScript RegExp (ECMAScript).

//

Flags: g

9 matches

Highlighted in test string

The quick brown fox jumps over the lazy dog.
#IndexMatchGroups
10The
24quick
310brown
416fox
520jumps
626over
731the
835lazy
940dog

Replace

Use $1, $2, … for capture groups; $& for full match.