去掉中英文符号

String str=str.replaceAll("(?i)[^a-zA-Z0-9\u4E00-\u9FA5]", "");

posted @ 2017-03-29 14:55  日月心诚  阅读(207)  评论(0编辑  收藏  举报