Simple PHP function for extracting a string from between two strings. Useful for web scraping.