note 14213 added to function.preg-replace.php

From: Date: Sun, 22 Jul 2001 22:40:26 +0000
Subject: note 14213 added to function.preg-replace.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-15676@lists.php.net to get a copy of this message
$sava = preg_replace("/\^1.*?)/","<font color=\"#FF0000\">\\1</font>","$text"); if i type ^1Team in a field it prints out <font color="#FF0000"></font>Team It should print <font color="#FF0000">Team</font> What do i have to change? http://www.php.net/manual/en/function.preg-replace.php

« previous php.notes (#15676) next »