All tools

Regex Explainer

Token-by-token plain English breakdown.

Token by token
  • ^Start of string (or line in /m mode)
  • [a-zA-Z0-9._%+-]Any char in: a-zA-Z0-9._%+-
  • +One or more (greedy)
  • @Literal "@"
  • [a-zA-Z0-9.-]Any char in: a-zA-Z0-9.-
  • +One or more (greedy)
  • \.Literal "."
  • [a-zA-Z]Any char in: a-zA-Z
  • {2,}2 or more
  • $End of string (or line in /m mode)

Breaks a regex into tokens with plain-English descriptions. Doesn't handle the trickier corners (like nested character classes), but works for most patterns you'd write or read in code review.

About

Paste a regex. The tool tokenizes it and explains each part in plain English. Useful for code review or when inheriting someone else's pattern.

How to use

  1. Paste a regex.

FAQ

Does it handle nested groups?+

Mostly - alternation, lookarounds, quantifiers. Edge cases like nested character classes ([[:alpha:]]) and Unicode property classes (\p{L}) aren't fully covered.