JavaScript RegExp {X,} Quantifier
JavaScript RegExp {X,} Quantifier
The n{X,} quantifier is used for matching any string that contains a sequence of at least X. In it, X must be a number.
Syntax:-
Its syntax is:- new RegExp("\\n{X,}") OR /\n{X,}/