Enter a pattern, flags, and test string to get a list of every match, including capture groups.
//
Test string
Use cases
Debugging a regex before dropping it into code
Checking that a pattern captures the right groups
Quickly finding every match in a piece of text
FAQ
Does anything run on a server?
No, new RegExp() is a standard, safe JS API — execution happens entirely in your browser.
Why can a complex pattern freeze the page?
That's an inherent property of regular expressions (catastrophic backtracking), not a problem with this tool — an overly complex pattern can run slowly in any JS engine.