Use regular expression to get a substring from a content.
<?php $preg='/SOME TEXT A(.*?)SOME TEXT B/is'; preg_match($preg,$snoopy->results,$match); $result = $match[1];
Back To Top