Regex Cheatsheet - Regular Expression Quick Reference

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

Share
Back to Regex Cheatsheet

Number with Commas Pattern

Common Pattern

Match numbers with thousands separators

Pattern

\b\d{1,3}(,\d{3})*(\.\d+)?\b

Examples

1,234,567.89

With decimals and commas

Matches: 1,234,567.89

1,000

Integer with comma

Matches: 1,000

Related Tools

More Text Tools