Detecting \n

From: Date: Sat, 21 Oct 2000 22:45:51 +0000
Subject: Detecting \n
Groups: php.general 
Request: Send a blank email to php-general+get-21600@lists.php.net to get a copy of this message
Alright. I've played with this for a while, but I can't seem to find something that works. Can someone point me to the regular expression that will detect a newline in a string of text, ie user types data into a text form field, I want to remove all \n characters. How do I pull that off? Thanks. Ben

« previous php.general (#21600) next »