第一种:
Regex reg = new Regex(“”);
string htmlCode = "(?<= src=\").*(?=\" alt)";
Match match = reg.Match(htmlCode);
string url = match.value;
yinmu 2019-06-10 14:07 原文
第一种:
Regex reg = new Regex(“”);
string htmlCode = "(?<= src=\").*(?=\" alt)";
Match match = reg.Match(htmlCode);
string url = match.value;