Re: strip out too many newlines
| From: | Marco Tabini | Date: | Thu, 04 Aug 2005 14:42:22 +0000 |
| Subject: | Re: strip out too many newlines | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-220005@lists.php.net to get a copy of this message | ||
Try changing the
\n*
patterns to
(?:\r?\n)*
Cheers,
Marco
--
BeebleX - The PHP Search Engine
http://beeblex.com
On 8/4/05 10:39 AM, "Sebastian" <sebastian@broadbandgaming.net> wrote:
>>> [quote=user]
>>> foo
>>> [/quote]
>>>
>>> <bunch of extra lines>
>>>
>>> more text...