Hi Sitepoint!
I want to cut out everything from $a to $b in a text variable, eg.
$a=“start”;
$b=“end”;
$text=“some text start text in between end text later on”;
so $text would be “some text text later on”
is there a way to do this in php? I know how to do it in perl but php doesnt seem to have a global flag…