Here is a better explanation. For example I have the following:
$string = "startRANDOMSTRINGend";
"start" and "end" are known strings but "RANDOMSTRING" is unknwon. How can I extract that "RANDOMSTRING" based on what is before and after it in PHP?
Thank you.