Regular expressions pcre2 · Quantifiers, groups and alternation

Repeat a pattern

Match between two and four letters a. Also: * zero or more, + one or more, ? optional.

a{2,4}

Official Regular expressions pcre2 documentation

More quantifiers, groups and alternation commands

All quantifiers, groups and alternation commands · Regular expressions pcre2 cheatsheet

Was this page helpful?