Answers for "remove /n from string in php"

PHP
2

how remove rn from string in php

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

string remove line breaks php

preg_replace( "/r|n/", "", $yourString );
Posted by: Guest on May-18-2020

Code answers related to "remove /n from string in php"

Browse Popular Code Answers by Language