Regex Explainer
Paste any regex and get a plain-English explanation of every part.
MATCH — the test string satisfies the pattern
Highlighted Pattern
Token Breakdown
- ^Start of string
- [a-zA-Z0-9._%+-]Any of: a–z, A–Z, 0–9, ., _, %, +, -
- +1 or more times (greedy)
- @Literal character: "@"
- [a-zA-Z0-9.-]Any of: a–z, A–Z, 0–9, ., -
- +1 or more times (greedy)
- .Any character except newline
- [a-zA-Z]Any of: a–z, A–Z
- {2,}2 or more times
- $End of string
Color Legend
About Regex Explainer
This tool tokenizes any regular expression and describes each component in plain English. It handles anchors (^ and $), quantifiers (*, +, ?, {n,m}), character classes such as [a-z], \d, and \w, capturing and non-capturing groups, positive and negative lookaheads, the wildcard dot, alternation (|), word boundaries (\b), and common escape sequences. Paste a pattern, optionally enter a test string to see MATCH, NO MATCH, or INVALID, and click any preset from the library to load a common pattern. All processing runs entirely in your browser — nothing is sent to a server.
Private & free — this tool runs entirely in your browser.