Test regular expressions with live matching, highlighting, and capture groups.
Test regular expressions live against your text with instant match highlighting, capture group inspection, and support for all standard JavaScript regex flags. Build, debug, and iterate on regex patterns without leaving your browser.
Enter your regex pattern
Paste or type the regex pattern. Use the flag toggles for global, case-insensitive, multiline, and other standard options.
Paste the test text
Add the text you want to match against. Matches highlight automatically.
Inspect capture groups
Expand each match to see numbered and named capture groups with their values.
JavaScript regex (ECMAScript). If you're testing patterns for another language (Python, PCRE, Go), syntax may differ slightly around features like lookbehinds or Unicode property escapes.
Yes. Named groups ((?<name>...)) are listed alongside numbered groups for each match.
Inputs into the hundreds of thousands of characters work fine. Very large inputs may slow down live matching but still complete.