2013年5月27日

用于正则表达式的 Regex.Matches静态方法的几种用法 转载

摘要: //①正则表达式 = > 匹配字符串 string Text = @"This is a book , this is my book , Is not IIS"; //定义一个模式字符串,不仅仅是纯文本,还可以是正则表达式 string Pattern = "is"; MatchCollection Matches = Regex.Matches( Text, Pattern, RegexOp... 阅读全文

posted @ 2013-05-27 16:13 seaven 阅读(465) 评论(0) 推荐(0) 编辑

导航