0
你好,我在我的程序中使用htmlagilitypack它在c#中的构建WPF我会提取所有html页面。知道我不知道如何挖掘它从Html页使用htmlagilitypack提取特定文本
HTML页面看起来像这样
<tr>
<th rowspan="4" scope="row">General</th>
<td class="ttl"><a href="network-bands.php3">2G Network</a></td>
<td class="nfo">GSM 850/900/1800/1900 </td>
</tr><tr>
<td class="ttl"><a href="network-bands.php3">3G Network</a></td>
<td class="nfo">HSDPA 900/1900/2100 </td>
</tr>
我只想从HTML页面中提取为GSM 850/900/1800/1900这些文字,但我不能解压请有人帮我这个
目前我想这个代码我找到计算器
foreach (var script in doc.DocumentNode.Descendants("script").ToArray())
script.Remove();
foreach (var style in doc.DocumentNode.Descendants("style").ToArray())
style.Remove();
我不知道如何提取从HTML页面n中的特定文本曾经做过。