public void abc(){ String str = "aabbccdd"; str = str.replaceAll("\d+","数字"); system.out.println("str"); }