Regular Expression - Possessive Quantifier

Regexp

List

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





Discover More
Regexp
Multilingual Regular Expression Syntax (Pattern)

Regular expression are Expression that defines a pattern in text. This is therefore a language that permits to define structure of a text. They are a mathematically-defined concept, invented by Stephen...
Regexp
Regexp - (Quantifier|Cardinality Indicators)

A quantifier defines the number of times that: character class of character grouped (or not) may be seen. It has three behaviors: a Greedy one: match longest possible string. This is the...



Share this page:
Follow us:
Task Runner