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





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to