Hmm... You should use something like:
$pointa = strpos($text, "Point A");
$pointb = strpos($text, "Point B", $pointb);
$returndata = substr($text, $pointa, $pointb-$pointa);
It's fast and simple. If you wonder why the $pointb = .. line is different from the first line, it's just because I want to search for Point B after Point A. It will be faster that way.