main.cs590 chars19 linesThe above code uses the HtmlAgilityPack library to load a web page and parse its HTML. It then iterates over all elements in the body of the page, excluding any script tags. For each element, it checks if its OuterHtml property matches the given regex pattern. If so, it prints the HTML code of the element to the console.
gistlibby LogSnag