Im trying to match anything, including lines between two points and output everything except the points e.g.
## START ##
all
of
this
will
be
returned
## END ##
will display:
all
of
this
will
be
returned
I have tried everything, the closest I have got is this, but it does not match new lines:
preg_replace("/## START ##(.*)## END ##/s", "\\1", $string);
Please Help!
Mike