A worked example, rendered from real sample data. Sign in to run the tool on your own input.
digit── Character classes ──
\d digit [0-9]
\D non-digit

Character classes, quantifiers, anchors, groups, flags. Part of the DevTools Surf developer suite. Browse more tools in the Cheatsheets collection.