String str ="1,2,3.45";
str = str.replaceAll( "[\\pP+~$`^=|<>~`$^+=|<>¥×]" , "");
Java去掉标点符号的方法
最新推荐文章于 2023-03-08 16:41:26 发布
String str ="1,2,3.45";
str = str.replaceAll( "[\\pP+~$`^=|<>~`$^+=|<>¥×]" , "");