Java怎么去除字符串中的所有数字?

272 阅读1分钟
String string = "abc123zxc56qwer89ws5";
System.out.println(string .replaceAll("\\d+",""));