← Pencilbox
Decoder
explain a regular expression
build v6.0
Decoder reads a regular expression and explains it in plain words, piece by piece, so you can understand what an unfamiliar pattern actually matches. Paste a regex, and each token is broken out and described. Nothing is uploaded.
Regular expression
//
Breakdown
Test a string against it

Decoder recognises the common regular-expression syntax — anchors, quantifiers, character classes, groups, escapes and alternation. Very advanced constructs like look-behind or recursion may be described only loosely. The test box uses your browser's own regex engine (JavaScript). Everything runs on your device.