I have been dealing with html a lot in general and always used `Regex` to get my results. Every time I look for help though, everyone recommends to use HTML parsers, such as HTMLAgilitypack.

I just tried it and man, it is too much for me at the moment.
This is how I tried to enumerate the spans of the html code

```
private static string _InetReadEx(string sUrl)
    {
        try
        {
            HtmlWeb website = new HtmlWeb();
            HtmlDocument htmlDoc = website.Load(sUrl);

            var allElementsWithClassFloat = htmlDoc.DocumentNode.SelectNodes("//div[contains(@class,'pid')]");
            for (int i = 0; i < allElementsWithClassFloat.Count; i++)
            {
                Console.WriteLine(allElementsWithClassFloat[i].InnerText);
            }

            return aRet;
        }
        catch (Exception ex)
        {
            throw ex;
        }
    }

```

and I am getting the error `Expression must evaluate to a node-set`

I have uploaded the HTML file [here](http://www.filedropper.com/test_41) because it was too big to add it on the post
I need to enumerate all the classes that contain "pid".