I am trying to parse an html document by td tags using C# so that
<td>Whatever string</td><td class="pass">value</td>
would return
Whatever string : value
I have spent hours on this problem, trying XML parsers, and regular expressions, but to no avail. Thanks for your help.
I have already tried
List<string> list = Regex.Split(lineslineWithTdTag[i], "[<td>].[<\td>]").ToList();
List<string> status = Regex.Split(list[3], "[pass=\"].\"").ToList() ;
and then I tried parsing that list