Regex Explainer
Break a regular expression into tokens and explain each one in plain English.
A regex explainer tokenises a regular expression and describes each part in plain English — anchors, character classes, quantifiers, groups, lookarounds and back-references — so you can read a pattern someone else wrote, or confirm that yours says what you meant.
Runs in your browser- Privacy
- Runs entirely in your browser — nothing is uploaded
- Cost
- Free, unlimited, no sign-up
Frequently asked questions
Why is my regex so slow?
Should I use a regex to parse HTML?
How to use the regex explainer
- 1Enter or paste your pattern.
- 2Enter or paste your flags.
- 3The result appears immediately — copy or download it.
Embed this tool
Put the working regex explainer on your own site. It runs in your visitors' browsers exactly as it does here — free, no account, nothing uploaded.
Share this tool
Related tools
Regex TesterTest regular expressions against sample text and see every match with its capture groups.Email, URL & Number ExtractorPull emails, URLs, IP addresses, phone numbers or hashtags out of any text.Find and Replace TextReplace text across a whole document with plain matching or full regular expressions.CSS Pattern & Texture GeneratorGenerate repeating background patterns in pure CSS — no image files to host.UTF-8 Byte InspectorSee exactly how text is encoded — code points, UTF-8 bytes, names and byte counts per character.7Z to ZIP ConverterConvert 7-Zip (.7z) archives into universal ZIP format.
Last updated
More developer tools