Possible Duplicate:
Best methods to parse HTML with PHP
Regex matching table rows in HTML
I was wondering how you would go about doing the preg_match for finding multiple IP addresses and ports in page source.
Example:
<td width=170>61.152.108.19</td>
<td width=70>8080</td>
There are about 40 sets of these on the page, and I need them parsed easily, I tried using REGEX but it seems to be grabbing the HTML as well, but I only need the IP and Port side by side.
Thanks in advance!