用C#读取阿里巴巴里面某个商品网页源码,

2025-05-12 19:59:50
推荐回答(1个)
回答1:

 Match mat = Regex.Match(str, "product:price\" content=\"([\\w\\W]+?)\"");

 Console.WriteLine(mat.Groups[1].Value);



str是那个html页的文本