Answers for "regex for exactly n digits"

0

regex for exactly n digits

const isExactly5Digits = /\b\d{5}\b/g.test(someString);

const isAtLeast5Digits = /\(|\)|\d{5}/.test(someString);
Posted by: Guest on July-07-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language