62,074
社区成员
发帖
与我相关
我的任务
分享
string str = @" <img src=http://images.gg-art.com/auction/images1/13/13325.jpg >";
Regex r = new Regex(@"<img[\s]*src[\s]*=(?<src>http://[\w\W]*.jpg)[\s]*>", RegexOptions.IgnoreCase);
if (r.IsMatch(str))
{
Response.Write(r.Match(str).Groups["src"].Value.ToString());
}