The qualifier adds an optional amount of data to the regular expression. Limits expressions are applied to characters, groups, or character classes next to it. The .NET Framework regular expression supports minimum matching (LAZY) qualifier.
The following table describes a metammat that affects the number of matches.
Limit Note * Specifies zero or more match; for example / w * or (ab) *. Equivalent to {0,}. Specify one or more matchs; for example / w or (abc) . Equivalent to {1,}. ? Specify zero or one match; such as / w? Or (abc)? Equivalent to {0,1}. {n} Specifies just n matching; for example (PIZZA) {2}. {N,} Specifies at least n matching; for example, (ABC) {2,}. {N, M} specifies at least n but not more than M matching. *? Specifies the first match (equivalent to lazy *) as possible as possible. ? Specifies to use repetition but at least once as possible (equivalent to Lazy ). ?? Specify use zero repetition (if possible) or repetition (lazy?). {n}? Isometric {n} (lazy {n}). {n,}? Specifies to use repetition but at least N times as little as possible (Lazy {n,}). {n, m}? Specify between N times and M times, use repeat as possible (Lazy {n, m}).
See
Regular expression language elements