}public static void main(String[] args) { String str = "sa汉字e3中国人r#|c"; System.out.println(str.replaceAll("[^/u4E00-/u9FA5]", "")); }