Toolmanor

Regex explainer

Paste a regular expression to see each part explained in plain words: groups, repeats, character classes, lookarounds and flags. Hover to see each part.

How to read a regex

  1. Paste the regex, as /pattern/flags like in code or just the pattern.
  2. Read the explanation line by line: each line is one part of the regex, with its inner parts indented.
  3. Hover or select a line to see that part highlighted in the regex.

Frequently asked questions

Related tools