Quote:
Today at 04:29 AM Boofo said this in Post #4
You said this would do the match. Is this how it should look (with the siU)?
PHP Code:
$reviewmessage = trim(preg_replace("((.*)*(\[you\])*)*", $bbuserinfo[username], $post[pagetext]));
|
What I meant was that the regex I gave would replace the (.*) in the first preg_replace and would try to match both patterns in your statements.
But since the replacements need to be done in 2 passes, it is of no help...