/// 中文 public static bool IsChinese ( string source ) { return Regex.IsMatch ( source, @"^[\u4e00-\u9fa5]+$", RegexOptions.IgnoreCase ); } public static bool hasChinese ( string source ) { return Regex.IsMatch ( source, @"[\u4e00-\u9fa5]+", RegexOptions.IgnoreCase ); }