TOOLDENDEVELOPERON-DEVICE
Regex Tester
Write a pattern and watch matches highlight live in your text, with indices and capture groups. Runs entirely in your browser.
HOW TO USE
- 1Type your regular expression pattern.
- 2Paste the text you want to search.
- 3Every match is highlighted in place, with match indices and capture groups listed.
- 4Adjust the pattern and watch results update live.
EXAMPLE
INPUT
Pattern: /d+/ on "Order 42 and 7 items"
OUTPUT
Two matches, 42 and 7, highlighted with their positions
FAQ
Which regex syntax is supported?
JavaScript regex syntax, matching exactly what your browser runtime supports.
Can I see capture groups?
Yes. Groups defined with parentheses are shown alongside each match.
Is my data sent to a server?
No. Matching runs entirely in your browser.