Question d’entretien chez OpenText

Write a program to extract digits from an alphanumeric string and print the digit sum.