Tools / Developer / Regex Tester
DEVELOPER

Regex Tester

Test regular expressions live with match highlighting and groups.

Flags:

Highlighted matches

How to use

Type a pattern (without slashes), toggle flags and watch matches highlight live below along with capture groups for every hit.

Note

Uses the browser's native RegExp engine (JavaScript flavor). All testing happens locally.

Frequently asked questions

Slashes around pattern?

Do not include them; type the raw pattern only.

Too many matches slow?

Display caps at 500 matches but counting continues internally.

Lookahead support?

Yes, full JavaScript regex flavour including lookarounds.

Related tools