I have a string that may look something like this:
$r = 'Filed under: <a>Group1</a>, <a>Group2</a>';
Here is the regular expression I am using so far:
preg_match_all("/Filed under: (?:<a.*?>([\w|\d|\s]+?)<\/a>)+?/", $r, $matches);
I want the regular expression to inside the ()
to continue to make matches as designated with the +?
at the end. But it just won't do it. ::sigh::
Any ideas. I know there has to be a way to do this in one regular expression instead of breaking it up.