Answers for "remove new lines empty php"

PHP
0

revert local commit

$ git reset --hard HEAD~1
Posted by: Guest on March-03-2020
1

php remove newline

//Replace the newline and carriage return characters
//using regex and preg_replace.
$text = preg_replace("/\r|\n/", "", $text);
Posted by: Guest on December-09-2020

Browse Popular Code Answers by Language