IP Test</span> Date: <b>6/1/2011</b>     Pool: <b>BAKKEN</b>     IP Oil: <b>1474</b>     IP MCF: <b>961</b>     IP Water: <b>2176</b><br>
Cores and Samples
Anyone help with the syntax to get the information between "IP Test</span> Date: <b>" and "IP Water:"?
end(explode("IP Test:</span> Date: <b>",reset(explode('IP Water:',$string))));
$bits = explode( '   ', strip_tags($txt));
// gives you access to the pieces:
IP Oil: 1474
IP MCF: 961
Very nice Lion! Cups, that would work too although I didn't say it's exploding from a string that has a bunch of those delimiters before and after.
Thanks for the insight gentlemen!
This topic is now closed. New replies are no longer allowed.