note 57174 deleted from function.preg-replace by tularis

From: Date: Sun, 18 Jun 2006 13:28:05 +0000
Subject: note 57174 deleted from function.preg-replace by tularis
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-114318@lists.php.net to get a copy of this message
Note Submitter: zknowyou at hotmail dot com ---- To replace "<font \n >" with "<font >" do as follows: <?php preg_replace("/<([^\r\n>]*)\r\n([^>]*)>/","<\\1 \\2>",$str); ?> (note that you need \r\n)

« previous php.notes (#114318) next »