Java Regexs of Greedy Quantifiers
A greedy quantifier indicates to search engine to search the entire string and check whether it matches the given regexp. Following are various examples of Greedy Quantifiers using regular expression in java.
|Sr.No||Construct & Matches|
X, once or not at all.
X, zero or more times
X, one or more times.
X, exactly n times.
X, at least n times.
X, at least n but not more than m times