Re: [PHP] regexp. king needed (is it possible ???)

2001-07-17 Thread Jeroen Olthof
> Sent: 17 iulie 2001 17:38 > To: [EMAIL PROTECTED] > Subject: [PHP] regexp. king needed (is it possible ???) > > > ereg_replace("$opentag([^*]*)$closetag", > $this->OPENTAG.$loopHandle.$this->CLOSETAG, $template); > > how do I get al hold on the "\\1&

RE: [PHP] regexp. king needed (is it possible ???)

2001-07-17 Thread Adrian Ciutureanu
$content = ''; $new_str = '' > -Original Message- > From: Jeroen Olthof [mailto:[EMAIL PROTECTED]] > Sent: 17 iulie 2001 17:38 > To: [EMAIL PROTECTED] > Subject: [PHP] regexp. king needed (is it possible ???) > > > ereg_replace("$opent

[PHP] regexp. king needed (is it possible ???)

2001-07-17 Thread Jeroen Olthof
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