In this case, I would mess a little with explode
explode(splitter, haystack);
When you explode, you chop a string in an array. so when you explode on > you can get the usefull things out with the keys...
For example:
<?php
$string = 'Here are more HTML tags ... <td>Example</td> ... Here are more HTML tags';
$string = explode('<td>', $string); // key 1 contains 'Example</td>' (key 0 is empty)
$string = $string[1];
$string = explode('</td>', $string); // key 0 contains 'Example'
$string = $string[0];
?>
Though you need to be carefull with the keys
You can write simple functions for this to make it an easier job, hope this function is usefull
Grtz