Looking for a PHP function or script that would parse a string between two strings? I need something that would strip out a string between two specified pieces of text. This could be used to parse XML text, bbCode, html tag, or any other delimited code and text.