Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php remove newline

//Replace the newline and carriage return characters
//using regex and preg_replace.
$text = preg_replace("/
|
/", "", $text);
Source by thisinterestsme.com #
 
PREVIOUS NEXT
Tagged: #php #remove #newline
ADD COMMENT
Topic
Name
6+7 =