会员
周边
新闻
博问
闪存
众包
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
整天流浪的猫
现在的努力就是明天的成功!
博客园
首页
新随笔
联系
管理
02 2013 档案
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
阅读(622)
评论(0)
推荐(0)
公告