JavaSript RegExp Object
The n{X,Y} quantifier matches any string that contains a sequence of X to Y n's.
X and Y must be a number.
![]()
The {X,Y} quantifier is supported in all major browsers.
Do a global search for a substring that contains a sequence of three to four digits:
The marked text below shows where the expression gets a match:
JavaSript RegExp Object
Your message has been sent to W3Schools.