0
点赞
收藏
分享

微信扫一扫

Java去掉标点符号的方法

String str ="1,2,3.45";
str = str.replaceAll( "[\\pP+~$`^=|<>~`$^+=|<>¥×]" , "");


举报

相关推荐

0 条评论