JavaScript RegExp {X,Y} Quantifier
JavaScript RegExp {X,Y} QuantifierThe RegExp m{X, Y} Quantifier in JavaScript is used to find the match of any string that contains a sequence of m, X to Y times where X, Y must be numbered. Syntax: /m{X, Y}/ or new RegExp("m{X, Y}") Syntax with modifiers: /\m{X, Y}/g or new RegExp("m{X}", "g") Example 1: This example matches the presence of the wo