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@xxxxxxxxxxxxxxxxxxx> wrote: >>> [quote=user] >>> foo >>> [/quote] >>> >>> <bunch of extra lines> >>> >>> more text... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php