Normalize a string by removing all non-digit characters.
String normalize(String input) => input.replaceAll(RegExp(r'\D'), '');