/// 验证是不是正常字符 字母,数字,下划线的组合 public static bool IsNormalChar ( string source ) { return Regex.IsMatch ( source, @"[\w\d_]+", RegexOptions.IgnoreCase ); }