Regex Tester
Type a JavaScript regular expression and some text to see every match, its position and its groups.
Runs in your browser. Nothing you type is uploaded.Matches highlighted
9 matches[match 1: The] [match 2: quick] [match 3: brown] [match 4: fox] [match 5: jumps] [match 6: over] [match 7: the] [match 8: lazy] [match 9: dog].
Match list
| # | Match | Index |
|---|---|---|
| 1 | The | 0 |
| 2 | quick | 4 |
| 3 | brown | 10 |
| 4 | fox | 16 |
| 5 | jumps | 20 |
| 6 | over | 26 |
| 7 | the | 31 |
| 8 | lazy | 35 |
| 9 | dog | 40 |
No capture groups. Wrap part of the pattern in ( ) to capture it.
Replace
Type a replacement to see the text after replace. Type and delete to replace with nothing.