You could try rigging it like this, just create unique "start" and "end" markers for each segment you'd want to extract...
PHP Code:
<?
// Load full text into variable
$text = "
whatever whatever whatever
<!--#start_marker-->
This part here is what I want to get
and here
and more
and also here
<!--#end_marker-->
whatever whatever whatever
";
// strip out unwanted text
$text = split('<!--#start_marker-->',$text);
$text = split('<!--#end_marker-->',$text[1]);
$text = $text[0];
// echo just the part you want
echo $text;
?>
Bookmarks