Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
re solution in Clear category for Count Digits by Sky_J
def count_digits(text: str) -> int:
import re
return len(re.findall(r"[0-9]{1}", text))
May 11, 2021