摘要:
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
许鸣
阅读(956)
评论(0)
推荐(0)
浙公网安备 33010602011771号