Java怎么去除字符串中的所有数字? BigToffee 2021-08-11 272 阅读1分钟 String string = "abc123zxc56qwer89ws5"; System.out.println(string .replaceAll("\\d+",""));