Regex Explainer
v1.0.2Paste a regex pattern and get a token-by-token, color-coded explanation.
Parses a regular expression and generates a plain-English explanation of each token — character classes, quantifiers, groups, lookaheads, backreferences, and anchors — with a colour-coded visual breakdown.
How to use- →Paste your regex into the input field and click Explain to generate the token-by-token breakdown.
- →Hover over any coloured segment in the visual display to see its plain-English label.
- →Use the flag selector (g, i, m, s, u) to show how flags affect matching behaviour.
- →Paste a test string to see which parts of the pattern match and which groups capture which substrings.
Regular Expression
Enter a regex above to see a token-by-token explanation