摘要: view plaincopy to clipboardprint?//①正则表达式 = > 匹配字符串 string Text = @"This is a book , this is my book , Is not IIS"; //定义一个模式字符串,不仅仅是纯文本,还可以是正则表达式 string Pattern = "is"; MatchCollection Matches = Regex.Matches( Text, Pattern, RegexOptions.IgnoreCase | //忽略大小写 RegexOptions.Expli 阅读全文
posted @ 2011-05-20 16:04 rains 阅读(1912) 评论(0) 推荐(0) 编辑