I want to parse HTML with regular expression. Here is the html source code:
<table border="1">
<tr>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td>row 2, cell 2</td>
</tr>
</table>
And I want to take innerHTML of TD tags in a collection.
PS: I don't know how many TD tags will be exist in the html source. I think this can be done with REGEX GROUPING. Please add explanations in your answer about grouping and your code.
Thanks in advance....