Looking up digits
Type "digit" into Search to instantly find \d (any digit) and \D (any non-digit) along with their plain-English descriptions.
Searchable regex cheat sheet with anchors, quantifiers, groups and lookarounds — free.
About
A searchable quick reference for common regular expression syntax — character classes, anchors, quantifiers, groups, lookarounds and flags.
Developers use it as a quick memory-jog for a lookahead or group syntax they don't write every day, and students learning regular expressions use it to browse the building blocks in one place instead of digging through a long documentation page. It's one of many free developer tools on Toolapt, and like every tool here, it's free to use with no sign-up and no limit on how many times you run it.
Examples
3 worked examples
Type "digit" into Search to instantly find \d (any digit) and \D (any non-digit) along with their plain-English descriptions.
Type "lookahead" to see the pattern (?=...) for a positive lookahead and (?!...) for a negative lookahead.
Type a word that isn't in the reference, like "xyzzy", and the table shows a clear "no matches" message instead of an empty screen.
FAQ
Quick answers to common questions about the Regex Cheat Sheet.
It's a searchable reference table listing common regular expression syntax and what each piece means.
Yes. It's free, with no sign-up, no watermark and no limit on how many times you use it.
Yes. The search runs entirely in your own browser against a built-in list — nothing is sent to a server.
Character classes (\d, \w, \s and their negations), anchors (^ , $ , \b), quantifiers (* + ? {n,m}), character sets ([abc], [^abc], [a-z]), groups (capturing, non-capturing, named), backreferences, alternation, lookaheads and lookbehinds, and the common flags (g, i, m, s, u).
It reflects JavaScript's regular expression syntax, which is very close to what most other languages support for these common constructs, though some advanced features can differ between languages.
Yes. Searching a word like "lookahead" or "digit" matches against the description as well as the pattern itself.
Yes — pair this cheat sheet with the Regex Tester, which runs a pattern against sample text and shows every match and capture group.
Yes. The page is fully responsive and works on mobile, tablet and desktop browsers alike.
Did Regex Cheat Sheet work for you?