文章出處
文章列表
Regex reg = new Regex(@"<img[\s]+src[\s]*=[\s]*['""](?<picPath>.*)['""][\s]*>"); reg.Match("<img src='http://www.baidu.com'>").Groups["picPath"].Value
//http://www.baidu.com
//提取html中img標簽的src
文章列表
全站熱搜