摘要: string str = "中1234"; str = Regex.Replace(str, @"[\u4e00-\u9fa5]", ""); //去除汉字 str = Regex.Replace(str, @"[^\u4e00-\u9fa5]", ""); //只留汉字 阅读全文
posted @ 2018-09-18 10:47 水蓝色的单翼 阅读(3775) 评论(0) 推荐(0) 编辑