preg_match_all("($beg_tag.*$close_tag)siU", $string, $matching_data);
This returns an array with values that matches the expression. Issue is that it still has $beg_tag and $close_tag in the values as well. I want it to just return whats between tags and not what is used to identify that...