Jump to content

Trying to delete HTML URL's


kripz

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|
Link to comment
https://forums.phpfreaks.com/topic/10929-trying-to-delete-html-urls/
Share on other sites

Archived

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

×
×
  • Create New...

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.