Regex Playground
Test regular expressions with real-time match highlighting and capture group details. Powered by JavaScript's built-in RegExp engine — fully client-side.
//
Highlighted Matches
// Matches will be highlighted here
Frequently Asked Questions
All JavaScript regex flags: g (global), i (case-insensitive), m (multiline), s (dotall), u (unicode), y (sticky).
Each match is highlighted in a different color. Full matches are bold, and captured groups within each match are underlined.
Yes. Named capture groups ((?<name>...)) are displayed in the Match Details section along with indexed groups.
No. All regex evaluation happens locally in your browser using JavaScript's native RegExp engine.