PHP: preg_replace script needed to replace </div><div> to /n within [code][/code] tags?

Adam M

New member
Basically, I am using nicEdit (which has terrible support), and it uses divs instead of BRs, which normally is fine. My issue is that many people on my site post CSS, and when they post, they keep getting a bunch of divs showing up in their code...

So how do I change </div><div> into /n only in tags?
 
Back
Top