Developer Tools · Free

Regex Tester Online

A regex tester online that shows you what your pattern actually does. Type an expression, paste your test string, and watch every match highlight as you type — with capture groups, flags and a plain-English breakdown of each token. Nothing is uploaded; the whole engine runs in your browser.

No signupRuns in your browserNothing uploaded

Regex Tester Live

How to use it

Four steps to a result

Write your pattern

Type the expression between the delimiters. Toggle flags like g, i and m to change how matching behaves.

Paste a test string

Drop in real sample text — a log line, a CSV row, a block of HTML. Matches highlight instantly as you edit either side.

Inspect the matches

Every match lists its index, full value and each numbered or named capture group, so you can see exactly what your pattern grabbed.

Copy it into your code

Grab the finished expression, or use the explainer panel to document what each part of the pattern is doing before you ship it.

Questions

Frequently asked questions

Keep going

More free tools

Every one runs in your browser, with no account and nothing uploaded.