Given a web page as a string, how extract the data of a particular table knowing its id?
<p>I have a webpage HTML as a string. There is a table present in the webpage. I know its id. I want extract the data from the table. What is the best way of doing that in C#?  </p>

<p>For example(Bad indent)</p>

<pre><code>&lt;table cellspacing="0" rules="all" border="1" id="TABLE_ID" style="border-collapse:collapse;"&gt;
&lt;tr&gt;
    &lt;th scope="col"&gt; A &lt;/th&gt;&lt;th scope="col"&gt; B &lt;/th&gt;&lt;th scope="col"&gt; C &lt;/th&gt;&lt;th scope="col"&gt; D &lt;/th&gt;
    &lt;th scope="col"&gt; E &lt;/th&gt;&lt;th scope="col"&gt; F &lt;/th&gt;&lt;th scope="col"&gt; G &lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;123456abc&lt;/td&gt;&lt;td&gt;john smith&lt;/td&gt;&lt;td&gt;01/12/2017&lt;/td&gt;&lt;td&gt;00/00/0000&lt;/td&gt;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;RTA&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;123456abc&lt;/td&gt;&lt;td&gt;john smith&lt;/td&gt;&lt;td&gt;01/12/2007&lt;/td&gt;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&lt;td&gt;RTA&lt;/td&gt;
&lt;/tr&gt;
</code></pre>

<p></p>

<p>I can always do it by writing the code for parsing the string as desired but there sure must be better ways for doing this.</p>