[摘要]RegexOptions.IgnoreCase); string[] strAry = new string[regObj.Matches(htmlStr).Count]; ...
RegexOptions.IgnoreCase);
string[] strAry = new string[regObj.Matches(htmlStr).Count];
int i = 0;
foreach (Match matchItem in regObj.Matches(htmlStr))
{
strAry[i] = GetImgUrl(matchItem.Value);
i++;
}
return strAry;
}
private string GetImgUrl(string imgTagStr)
{
string str = "";
Regex regObj = new Regex("http://.+.(?:jpg(北联网教程,专业提供视频软件下载)
……