Extracts decimal numbers from the provided string. 从提供的字符串中提取十进制数。
String removeNonDigits(String str) { return str.replaceAll(RegExp(r"\D"), ""); }