note 42768 deleted from function.preg-replace by nlopess

From: Date: Fri, 28 May 2004 15:19:49 +0000
Subject: note 42768 deleted from function.preg-replace by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-70247@lists.php.net to get a copy of this message
Note Submitter: dennis_hilhorst AT zonnet DOT nl ---- I want the following sting '<font face="courier new" color=#006600 size=6>Courier new</font> is not equal to <font face=arial color=#006600 size=6>Arial</font>' converted in '<font face="courier new" color="#006600" size="6">Courier new</font> is not equal to <font face="arial" color="#006600" size="6">Arial</font>' I want in this example the value of the face/color/size between 2 ""... I just don't know what the right syntax is for this problem... Who can help me??? <? $input = '<font face="courier new" color=#006600 size=6>Courier new</font> is niet gelijk aan <font face=arial color=#006600 size=6>Arial</font>'; $output = preg_replace(); // <- ! ! ! ?>

« previous php.notes (#70247) next »