Regex Tester & Debugger Online Free | MyToolbox
Test and debug regular expressions with live matching and highlighting. Free regex tester with flag support. No signup needed.
How to Use Regex Tester
- 1
Enter your regex pattern
Type your regular expression in the pattern field. Set flags like global (g), case-insensitive (i), or multiline (m) as needed.
- 2
Paste your test string
Enter the text you want to test against. The tool highlights all matches in real time.
- 3
Review matches
See all matches highlighted in the test string. Capture groups, match indices, and match count are displayed below.
Why Use Our Regex Tester
Live Match Highlighting
Matches are highlighted in real time as you type both the pattern and test string. No need to click "test" — results are instant.
Full Flag Support
Toggle global (g), case-insensitive (i), multiline (m), dotAll (s), and unicode (u) flags with checkboxes or inline flags.
Capture Group Display
Named and numbered capture groups are extracted and displayed for each match, making it easy to verify complex patterns.
Match Details
See the match count, individual match values, their positions in the input string, and the content of each capture group.
JavaScript Regex Engine
Uses the browser's native JavaScript regex engine, so behavior matches exactly what your JavaScript code will produce.