110,536
社区成员
发帖
与我相关
我的任务
分享
string s = @"<li class=fk><a href=""http://xnlm2004.33591.com"" target=""_blank""><img src=""http://meida2.33591.com/userdata/2012/2/15/16/499611/image/head.gif.small.gif"" width=""80"" height=""80"" border=""0"" alt=""User"" /></a><br /><a href=""http://xnlm2004.33591.com"" target=""_blank"">xnlm2004</a></li>";
Match match = Regex.Match(s, @"(?is)(?<=<li class=fk>.*?<a[^>]+>)[^<>]+(?=</a></li>)");
Response.Write(match.Value);