去掉中英文符号

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

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