public static void main(String[] args) {
String str = "以下是您的招商银行信用卡10月电子账单".replaceAll("[^x00-xff]*", "");
System.out.print(str);
}
正则替换汉字的方法
最新推荐文章于 2024-06-30 03:47:49 发布
public static void main(String[] args) {
String str = "以下是您的招商银行信用卡10月电子账单".replaceAll("[^x00-xff]*", "");
System.out.print(str);
}