Answers for "how to remove \r\n from string in php"

PHP
0

revert local commit

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

how remove \r\n from string in php

$text = preg_replace("/\r|\n/", "", $text);
Posted by: Guest on January-30-2021
0

php remove \t and \n

$str = preg_replace('/(\v|\s)+/', ' ', $str);
Posted by: Guest on June-23-2021

Code answers related to "how to remove \r\n from string in php"

Browse Popular Code Answers by Language