Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Count Digits by Rounin
function countDigits(text: string): number {
return text.length - text.replace(/[0-9]/g, '').length;
}
April 27, 2020