preg_replace help
| From: | Michael A. Peters | Date: | Tue, 26 Jan 2010 13:18:36 +0000 |
| Subject: | preg_replace help | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-301469@lists.php.net to get a copy of this message | ||
$fixSrch[] = '/\n/';
$fixRplc[] = '[br]';
is what I need except I want it to leave anything between [code] and [/code] alone.
I figured it out before but with <element> </element> but I don't even remember what I was working on when I did that and I can't for the life of me find it now.