Remova pontos e vírgulas java
String str1 = s.replaceAll("[,.]", "");
Awful Alpaca
String str1 = s.replaceAll("[,.]", "");