> Nowhere in your replacement array do you check for, or remove, > carriage returns. > Add this \n to it: > $replacement = array("\"", "\,", ".", "!", "?", "\n"); > Your exploded array should now be correct.
When I do this I get some really unexpected results. Almost everything comes up bold. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php