0 B Β· 0 lines
Flags
g: Globali: Ignore casem: Multilines: Dotallu: Unicodey: Stickyd: Indices
Test Text
Matches
0
Unique
0
Lines
0
Coverage
0.0%
Runtime
0.23 ms
Live Highlight
Matches will be highlighted here.
Matches
No matches found.
0 B Β· 0 lines
Flags
g: Globali: Ignore casem: Multilines: Dotallu: Unicodey: Stickyd: Indices
Test Text
Matches
0
Unique
0
Lines
0
Coverage
0.0%
Runtime
0.09 ms
Live Highlight
Matches will be highlighted here.
Matches
No matches found.
Regex Tester
Test JavaScript regular expressions against sample text with real-time highlighting, full flag controls, capture group inspection, and detailed match metrics. Everything runs locally in your browser.
Regex Tester Use Cases
- Debug API log parsing patterns before using them in production
- Validate form input patterns and edge cases with real sample text
- Prototype search and extraction rules for scripts, ETL, and automation tasks
- Teach and learn regex fundamentals with instant visual match feedback
Regex Tester FAQ
Does this tool support JavaScript regex flags like g, i, m, s, u, y, and d?
Yes. You can toggle all supported JavaScript regex flags individually and inspect how each flag changes matches instantly.
Can I inspect numbered and named capture groups for each match?
Yes. Every match includes numbered capture groups and named groups, including values and positions when available.
Is my pattern and test text processed on a server?
No. Pattern matching runs locally in your browser and no regex or text data is uploaded.