I use HtmlAgilityPack for parsing some html page, I extract html tags from this page like this:
HtmlNode bodyContent = document.DocumentNode.SelectSingleNode("//body");
var all_text = bodyContent.SelectNodes("//div | //ul | //p | //table");
in returned html each tag contain class and id, I want to remove all id-s and all class how I can to do this?