给你一段源代码:--------------------------------------------------------------------------------
static clsSaveWebPage()
{
// Setup regular expressions for link parsing
_hrefRegEx = new Regex("a.*href\\s*=\\s*(?:\"(?<1>[^\"]*)\"|(?<1>\\S+))", RegexOptions.IgnoreCase | RegexOptions.Compiled);
_imgSrcRegEx = new Regex("img.*src\\s*=\\s*(?:\"(?<1>[^\"]*)\"|(?<1>\\S+))", RegexOptions.IgnoreCase | RegexOptions.Compiled);
}public static string [] FindImgSrc(string html)
{
// Get the matches collection
MatchCollection c = _imgSrcRegEx.Matches(html);

// Create an array of strings from the match collection
int i = 0;
string [] links = new string[c.Count];
foreach(Match match in c) links[i++] = match.Groups[1].ToString(); return links;
}不全,但你要的正则表达式和思路有!