JavaScript RegExp Group [0-9]
The [0-9] bracket expression is used to find any character between the brackets. The numbers inside brackets specify numbers from 0 to 9.
Syntax:-
Its syntax is:- new RegExp("[0-9]") OR /[0-9]/