phpbar.de logo

Mailinglisten-Archive

[php] OT: Mal wieder PRegs ;-)

[php] OT: Mal wieder PRegs ;-)

Cyrill Schumacher php_(at)_phpcenter.de
Mon, 24 Jun 2002 16:28:00 +0200


> $content = preg_replace('#(\n{3,})#s',"\n\n",$content);

$content = preg_replace('#[\r\n]{3,}#s',"\n\n",$content);

muss gehen.

kiri


php::bar PHP Wiki   -   Listenarchive