Regex Cheatsheet - Regular Expression Quick Reference

Quick reference for regular expression patterns. Character classes, quantifiers, anchors, and common patterns.

Share
Back to Regex Cheatsheet

Non-Digit Shorthand \D

Character Class

Matches any non-digit character, equivalent to [^0-9]

Pattern

\D

Examples

\D+

Matches sequence of non-digit chars

Matches: abc, XYZ

Related Tools

More Text Tools