regexp. king needed (is it possible ???)

From: Date: Tue, 17 Jul 2001 14:37:36 +0000
Subject: regexp. king needed (is it possible ???)
Groups: php.general 
Request: Send a blank email to php-general+get-58269@lists.php.net to get a copy of this message
ereg_replace("$opentag([^*]*)$closetag", $this->OPENTAG.$loopHandle.$this->CLOSETAG, $template); how do I get al hold on the "\\1" part of the replacement. basicly I want to replace opentag1 .........any content in between .............. closetag1 with opentag2 onewordonly closetag2 but still need the .........any content in between .............. is this possible in some way ??? kind regards Jeroen Olthof

« previous php.general (#58269) next »