Comment utiliser HtmlAgilityPack pour remplacer tous les hyperliens, par exemple:
<a href="url">Link</>
de sorte qu'il ne reste que l'attribut href. l'URL.
Est-ce possible?
Dim Doc as HtmlDocument = new HtmlDocument
doc.LoadHtml(MyHtml)
Dim links As HtmlNodeCollection = doc.DocumentNode.SelectNodes("//a")
For Each link In links
Dim att As HtmlAttribute = link.Attributes("href")
MyHtml = Myhtml.Replace(link.OuterHtml, att.Value)
Next