Skip to content

srmdn/regexplain

Repository files navigation

Regexplain

Paste any regular expression — get it broken down in plain English.

Each part of your regex is color-coded and explained: anchors, groups, lookaheads, character classes, quantifiers, escape sequences, and flags. No more guessing what ^(?=.*[A-Z])(?=.*\d).{8,}$ means.

Features

  • Color-coded token highlighting
  • Plain English explanation for every token
  • Flag descriptions (g, i, m, s, u, y)
  • Built-in examples: email, URL, password, date, hex color
  • Instant validation with error messages

Stack

React · TypeScript · Vite · Tailwind CSS

Development

git clone https://github.com/srmdn/regexplain.git
cd regexplain
npm install
npm run dev

Contributing

PRs welcome. Open an issue first for larger changes.

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors