Jump to content

Archived

This topic is now archived and is closed to further replies.

kripz

Trying to delete HTML URL's

Recommended Posts

Im trying to parse some html using php.

It looks similar to this:

[code]<td class="Advanced"><a href="http://www.myhost.com/advanced/1">Package 1</a> </td><td>335 Dollars</td>[/code]

[code]<td class="Basic"><a href="http://www.myhost.com/basic/11">Package 11</a> </td><td>33 Dollars</td>[/code]

[code]<td class="Basic"><a href="http://www.myhost.com/basic/11">Package 11</a> </td><td>33 Dollars</td><td class="Advanced"><a href="http://www.myhost.com/advanced/1">Package 1</a> </td><td>335 Dollars</td>[/code]

I need to strip everything so it only displays:

|Advanced Package|1|335|

|Basic Package|11|33|

|Basic Package|11|33|Advanced Package|1|335|

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.