Hi,
I am in need of parsing some html code.
Here is an example of what I am trying to do, but not quite sure how to do it.
<tbody><tr> <td>1.</td> <td><a href="something.php?y=US&id=197003">Some Name Here</a></td> <td>City, STATE</td> <td class="noWrap"></td> <td class="noWrap">123-456-7890</td></tr><tr class="altRow"> <td>2.</td> <td><a href="something.php?y=US&id=113762">Another Name</a></td> <td>City, STATE</td> <td class="noWrap"></td> <td class="noWrap">123-456-7890</td></tr>
I need to catch the id of each of those hrefs in the code. The "something.php?y=US&id=" is constant so that will not change. The data is in a table, and I can get all of the other information from the table, but I can't pull the id from those links. Any help or suggestions would be greatly appreciated.
Thanks,