会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
整天流浪的猫
现在的努力就是明天的成功!
博客园
首页
新随笔
联系
管理
2013年2月19日
c#正则表达式获取html超链接
摘要: private Dictionary<string, string> GetUrl(string content) { Dictionary<string, string> dics = new Dictionary<string, string>(); string pattern = @"(?is)<a[^>]*?href=(['""]?)(?<url>[^'""\s>]+)\1[^>]*>(?<text>(?:(?!</?a\b
阅读全文
posted @ 2013-02-19 14:03 biubiubiu
阅读(599)
评论(0)
推荐(0)
编辑
公告