2014年4月1日
摘要: string pattern = @"]*href=(""(?[^""]*)""|'(?[^']*)'|(?[^\s>]*))[^>]*>(?[\s\S]*?)"; MatchCollection mcs = Regex.Matches(contenhtml, pattern, RegexOptions.IgnoreCase | RegexOptions.Compiled);href =mcs[0].Groups["href"].Value;text=m 阅读全文
posted @ 2014-04-01 11:46 许广 阅读(937) 评论(0) 推荐(0) 编辑