Regular Expression - Possessive Quantifier


You add a + to the greedy qualifier to make it possessive.

Quantifier Description
X?+ X, once or not at all
X*+ X, zero or more times
X++ X, one or more times
X{n}+ X, exactly n times
X{n,}+ X, at least n times
X{n,m}+ X, at least n but not more than m times

Powered by ComboStrap