Test · replace · explain · generate code, in your browser

Live Regex Tester

/ / g
Matches
Idle 0 matches 0 ms

Analysis

Human-readable, token-by-token explanation of your pattern.

Visual flow of the regex execution graph (anchors, classes, groups, quantifiers).

Token-by-token execution walkthrough against the first non-empty input line.

Pinpoints where matching failed and which character broke the match.

0/10

Suggestions to make your pattern shorter, faster and safer.

Sample strings generated from your pattern.

Matching examples

Non-matching examples

Plain-English description of what the regex matches.

Reverse Regex

—