Regex Cheatsheet - Regular Expression Quick Reference

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

Share
Back to Regex Cheatsheet

One or More +

Quantifier

Matches preceding expression one or more times (greedy)

Pattern

+

Syntax

Explanation

+ requires at least one match. \d+ matches at least one digit.

Examples

a+

Matches at least one a

Matches: a, aaa

\d+

Matches at least one digit

Matches: 123

Related Tools

More Text Tools