1#
参考:http://www.cnblogs.com/foundation/archive/2008/06/04/1213368.html
  1. System.Text.RegularExpressions.RegexOptions op;

  2. op = System.Text.RegularExpressions.RegexOptions.IgnoreCase;//不区分大小写

  3. System.Text.RegularExpressions.Regex obj;

  4. obj = new System.Text.RegularExpressions.Regex(Estring, op);

复制代码