I'm trying to take an HTML table, and extract the data inside the cells.
<tr bgcolor="#E1D8B9">
<td class="HEADLINEGRAPH"><a href="/lineups/team/nyi/index.html">NY ISLANDERS</a></td>
<td class="HEADLINEGRAPH" align="right">60</td>
<td class="HEADLINEGRAPH" align="right">28</td>
<td class="HEADLINEGRAPH" align="right">22</td>
<td class="HEADLINEGRAPH" align="right">8</td>
<td class="HEADLINEGRAPH" align="right">2</td>
<td class="HEADLINEGRAPH" align="right" bgcolor="#AFB088">66</td>
</tr>
ie; I want to extract "NY ISLANDERS", "60", "28", etc. but I don't want any of the HTML.
Does anyone know an easy way to do that, which can be run through a loop to extract the similar cells from 30 different rows (where the team name matches one in the database).