I have a bit of text that I want to run a regex place on, but I cant get my head around this.
[PHP] include("file.php"); [-PHP]
[PHP] echo $date;[-PHP]
[PHP] include("something.php"); [-PHP]
What I would like to do is run a regex that replaced the " with " if they are between [PHP] and [-PHP], for everytime it occurs, and then return the new string as $content