Yes! That was it! Thank you so much. I actually thought preg and ereg were interchangeable, so, I'm glad you pointed out the difference for reg expressions. Can you tell me what the open and closing slashes / are for inside the quotes? Is it equivalent to [ and ] for ereg?
Monty > DOH! It's preg!!! [[:space:]] is for ereg. Use \s. I don't know why I > didn't notice sooner. Do this: > > '/\s*page_break\s*/' > > --Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php