← All Tools

Natural Regex Parser🔒 100% local

Plain English to regex. Privacy-first, no server uploads, no tracking.

Related Tools

API ClientAPI Key RedactorAspect Ratio Scaler

Takes a regular expression and prints a line-by-line plain-English reading of it: each atom in order, what a group type does, how a quantifier applies, what the flags change, and warnings about greedy ".*" or nested quantifiers. It takes the pattern with or without the surrounding slashes and trailing flags - "\d{3}-\d{4}" and "/^[a-z]+$/i" both work.

How to use it

  1. Paste a pattern into the Input box.
  2. Press Process to get the numbered breakdown, the Overall summary and the flag explanation.
  3. Include the slashes and flags if you have them; without them the whole string is treated as the bare pattern.

Worked example

/^[a-z]+$/ibecomesReading: ^[a-z]+$ (flags: i) Length: 8 chars, 0 group(s), flags: i In plain English, left to right: 1. START of the string (or line with the m flag) 2. any ONE of a - z — one or more times 3. END of the string (or line with the m flag) Overall: START of the string (or line with the m flag), any ONE of a - z — one or more times, END of the string (or line with the m flag) Flags mean: i = case-insensitive
\d{3}-\d{4}becomesReading: \d{3}-\d{4} Length: 11 chars, 0 group(s), no flags In plain English, left to right: 1. any digit (0-9) — exactly 3 times 2. the literal character "-" 3. any digit (0-9) — exactly 4 times Overall: any digit (0-9) — exactly 3 times, the literal character "-", any digit (0-9) — exactly 4 times No flags: first match only, case-sensitive, ^/$ anchor the whole string.

When to use it

What it does not do