Maybe im losing it or something but I need to grab the content between 2 tags. I want to grab everything between the
<%starttag%>
and
<%endtag%>
in a string.
Example:
$myvar = "
it wont grab this
<%starttag%>
it will grab this
<%endtag%>
and it wont grab this
";
Any ideas?