第一种:
Regex reg = new Regex(“”);
string htmlCode = "(?<= src=").*(?=" alt)";
Match match = reg.Match(htmlCode);
string url = match.value;
第一种:
Regex reg = new Regex(“”);
string htmlCode = "(?<= src=").*(?=" alt)";
Match match = reg.Match(htmlCode);
string url = match.value;