Regex Tester
Test and debug regular expressions against sample text. See matches, groups, and indices. Supports JavaScript regex flags (g, i, m).
More in Developer Utilities
Frequently Asked Questions
- What does the regex tester do?
- Test regular expressions against sample text. See matches, groups, and positions. Supports JavaScript regex flags (g, i, m). All testing runs in your browser — your text is never sent to a server.
- Is my text sent to a server when testing regex?
- No. The regex tester runs entirely in your browser. Your pattern and text stay on your device.
- Which regex flags are supported?
- Global (g), case-insensitive (i), and multiline (m). Enter your pattern and test string to see matches and groups instantly.