php preg_match_all assistance?

Lanh

New member
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 values.

best answer to who ever answers this correctly hint: siU has to do something with it I think.
 
Back
Top