Regex Explainer

Paste any regex. Get plain English — token by token — so you can read a pattern you didn't write.

Anchors Escapes Classes Groups Wildcard Alternation Literal
/ /
Try:

Quick Reference

Anchors

^start of string
$end of string
\bword boundary
\Bnon-word boundary

Common escapes

\dany digit (0–9)
\Dany non-digit
\wletter, digit, or _
\Wnon-word character
\swhitespace
\Snon-whitespace
\nnewline
\ttab

Quantifiers

*0 or more times
+1 or more times
?0 or 1 time
{n}exactly n times
{n,m}n to m times
{n,}n or more times
*?lazy (as few as possible)