Key capabilities
- Live matching
- Capture groups
- Replacement preview
- Local processing
Debug regular expressions locally in the browser with flags, match highlighting, capture groups, named groups, and replacement preview.
Enter the pattern without wrapping slashes.
Paste logs, API responses, or plain text. Matches are highlighted on the right.
Shows matches live with the current flags.
Save useful patterns, replacements, flags, test text, and test cases for one-click restore and validation later.
Detects the current pattern structure, capabilities, and possible risks.
4 capture groups were detected for export, replacement, and downstream processing.
| branches were detected. A broad branch placed first can consume text before later branches are tried.
Combines static risk checks with a lightweight benchmark.
A lightweight performance test will run after the page finishes loading.
Breaks down key pattern segments in order.
(Group0-1Starts a capturing group that can be referenced in matches and replacements.
GETLiteral1-4Matches this text literally.
|Branch4-5Branch matching: either side may satisfy the pattern.
POSTLiteral5-9Matches this text literally.
)Group9-10Ends the current group.
\sEscape10-12Matches one whitespace character.
+Quantifier12-13Repeats the previous segment one or more times.
(Group13-14Starts a capturing group that can be referenced in matches and replacements.
\/Escape14-16Matches an escaped special character or control sequence.
\SEscape16-18Matches one non-whitespace character.
+Quantifier18-19Repeats the previous segment one or more times.
)Group19-20Ends the current group.
\sEscape20-22Matches one whitespace character.
+Quantifier22-23Repeats the previous segment one or more times.
(Group23-24Starts a capturing group that can be referenced in matches and replacements.
\dEscape24-26Matches one digit character.
{3}Quantifier26-29Repeats the previous segment according to {3}.
)Group29-30Ends the current group.
\sEscape30-32Matches one whitespace character.
+Quantifier32-33Repeats the previous segment one or more times.
(Group33-34Starts a capturing group that can be referenced in matches and replacements.
\dEscape34-36Matches one digit character.
+Quantifier36-37Repeats the previous segment one or more times.
msLiteral37-39Matches this text literally.
)Group39-40Ends the current group.
12 capture groups detected.
#1 · 0-29
GET /api/users?id=42 200 18ms
Group 1
GET
Group 2
/api/users?id=42
Group 3
200
Group 4
18ms
#2 · 30-54
POST /api/login 401 33ms
Group 1
POST
Group 2
/api/login
Group 3
401
Group 4
33ms
#3 · 55-81
GET /assets/app.js 304 4ms
Group 1
GET
Group 2
/assets/app.js
Group 3
304
Group 4
4ms
Supports $1, $2, and named group references.
After checking the preview, write the replacement result back to the input.
Preview result
GET /api/users?id=42 -> 200 (18ms) POST /api/login -> 401 (33ms) GET /assets/app.js -> 304 (4ms)
Replacement diff
Shows only changed lines. Red is before, green is after.
Before
GET /api/users?id=42 200 18ms
After
GET /api/users?id=42 -> 200 (18ms)
Before
POST /api/login 401 33ms
After
POST /api/login -> 401 (33ms)
Before
GET /assets/app.js 304 4ms
After
GET /assets/app.js -> 304 (4ms)
Save multiple inputs and expected match counts, then validate the current regex in one run.
When expected matches is blank, the current match count is used.
Pass rate
0%
Passed
0
Failed
0
Blocked
0
Test matches, groups, and replacement output. Debug regular expressions locally in the browser with flags, match highlighting, capture groups, named groups, and replacement preview. The core workflow is designed to run in your current browser.
Yes. Regex Tester opens in a modern browser and does not require desktop software installation.
Common use cases include Debug log extraction rules; Validate form input patterns.
The core processing workflow is designed to run locally in the browser. Key capabilities include Live matching, Capture groups, Replacement preview; account, comments, and anonymous analytics may still create normal site requests.
0 comments
Sign in to comment and reply.