So let's say I have these given variables:
string $header = "start";
string $footer = "end";
string $sentance = "start a bunch of text end";
I'm trying to match everything between the $header and $footer variables in the $sentance string. I've been scouring the web trying to find an answer to no avail.
Any help is appreciated, thanks!