2012年5月24日

正则超链接

摘要: string pattenhref = "<a([^>])*>"; string pattenhrefend = "</a([^>])*>"; Regex rg = new Regex(pattenhref, RegexOptions.Multiline | RegexOptions.Singleline); MatchCollection m = rg.Matches(strtext); for (int i = 0; i < m.Count; i++) { MessageBox.Show(m[i].Resul 阅读全文

posted @ 2012-05-24 09:43 HOT SUMMER 阅读(327) 评论(0) 推荐(0)

导航