java удалить не номера из строки

String str = "a12.334tyz.78x";
str = str.replaceAll("[^\\d.]", "");
Dull Dove