I\'m trying to get all the divs that their class contains a certain word:
content1
HtmlDocument htmlDoc = new HtmlAgilityPack.HtmlDocument(); htmlDoc.Load(filePath); foreach(HtmlNode link in doc.DocumentElement.SelectNodes("//div[@class='hello']") { //code }