RegEx Tester
Test and debug regular expressions with real-time highlighting
Flags:
How to Use
- Enter your regular expression pattern
- Toggle flags (g, i, m, s, u) as needed
- Type or paste your test string
- Matches are highlighted in real time with captured groups shown below
FAQ
What regex flags are supported?
All standard JavaScript regex flags are supported: g (global), i (case-insensitive), m (multiline), s (dotAll), and u (unicode).
How do I see captured groups?
Captured groups from parentheses in your pattern are displayed in the matches panel below the test string. Each match shows its full match and individual groups.
Does this work offline?
Yes. All regex testing runs in your browser using JavaScript's native RegExp engine. No data is sent to any server.