摘要: 例: public static void main(String[] args) { // 去除字符串中 除数字和逗号以外的符号 String str = "_1066,_1068,_1069,"; str = str.replaceAll("[^\\d,]",""); System.err.pr 阅读全文
posted @ 2021-09-24 16:31 云村的王子 阅读(978) 评论(0) 推荐(0) 编辑