摘要: String str= "我very喜欢China"; String reg = "[\u4e00-\u9fa5]"; Pattern pat = Pattern.compile(reg); Matcher mat = pat.matcher(str); str = mat.replaceAll(" 阅读全文
posted @ 2023-05-12 15:58 zagwk 阅读(263) 评论(0) 推荐(0)