Const
A RegExp that matches digits ('0' to '9')
'0'
'9'
Match digit characters
const result = digitCharacterRegExp.test("1");console.log(result); // true
Generated using TypeDoc
A RegExp that matches digits (
'0'to'9')Example
Match digit characters