Regex Tester
Test a JavaScript regular expression — matches highlighted, groups listed, errors in plain words. Nothing is uploaded or stored.
Test
Enter a pattern first.
Result
The highlighted matches will appear here.
Matches—
What the pattern means
The explanation will appear here.
How the tester works
Engine. Matches follow the JavaScript RegExp engine exactly — the same engine your browser uses.
Slow patterns. A pattern with a quantified group that itself contains a quantifier (such as (a+)+) can take a very long time on some inputs. The tool warns you before running it.
Local only. All work happens in your browser. Nothing is uploaded, stored or shared.