JSREF
JavaScript RegExp {X,Y} Quantifier
A global search for a substring that contains a sequence of three to four digits: