It appears the spacing has been stripped out of my description. The two sets of results should look like this, using underscores in place of the spaces:

NUMBER_HTML
------_-------
_____1_<table>
<td>aaa</td>
</table>
_____2_<table>
<td>bbb</td>
</table>

NUMBER_HTML
------_-------
_____1_<table>
_______<td>aaa</td>
_______</table>
_____2_<table>
_______<td>bbb</td>
_______</table>

(Again, this will make more sense in a fixed-width font)