Regex Tester
Test patterns with live highlighting.
- 100% free
- No sign-up
- Runs in your browser
Build patterns with instant feedback
Type a pattern and every match lights up in your test text, with capture groups listed underneath. Syntax errors are explained the moment you make them.
It uses your browser's JavaScript engine, so what works here works in your code.
- 1
Write a pattern
Without the surrounding slashes.
- 2
Set flags
g, i, m, s, u, y.
- 3
Check matches
Highlights and groups.
Frequently asked questions
Which regex flavour is this?
JavaScript (ECMAScript), including lookbehind, named groups and Unicode property escapes.
Why is only the first match found?
The tester always searches globally, so check your pattern if you expected more.
Is my data uploaded anywhere?
No. Everything runs in your browser with JavaScript — nothing you type or open is sent to our servers.

