Test a regex and actually see what it matches.
Type a pattern and a test string and watch every match light up as you go — with capture groups listed, a plain-English explanation of each token, and a ready-to-paste code snippet. In your browser.
FAQ
Is my regex or test text uploaded?+
No. Your pattern and your test string are compiled and matched entirely in your browser using the same regex engine your JavaScript runs on — nothing is sent to a server. We count anonymous, aggregate usage on our own server (a page view, that a pattern was run) — never your pattern, your flags, or the text you test it against.
Which regex flavor is this?+
It uses the browser's native JavaScript (ECMAScript) regular-expression engine, so everything that works here works in new RegExp(...) and in a /…/ literal. The flags g (global), i (ignore case), m (multiline), s (dotall) and u (unicode) are all supported, including named groups like (?<year>\d{4}). The generated Python snippet is a best-effort translation — most patterns carry over, but a few engine-specific constructs differ.
Do I need an account?+
No login, no email, no payment. This one is free.