“PHP Remova a nova linha” Respostas de código

Como remover r n da string em php

$text = preg_replace("/\r|\n/", "", $text);
Mohamad

PHP Remova a nova linha

//Replace the newline and carriage return characters
//using regex and preg_replace.
$text = preg_replace("/\r|\n/", "", $text);
Alberto Peripolli

String Remova quebras de linha PHP

preg_replace( "/\r|\n/", "", $yourString );
Nice Nightingale

PHP remove t e n

$str = preg_replace('/(\v|\s)+/', ' ', $str);
Annoying Anaconda

Respostas semelhantes a “PHP Remova a nova linha”

Perguntas semelhantes a “PHP Remova a nova linha”

Mais respostas relacionadas para “PHP Remova a nova linha” em PHP

Procure respostas de código populares por idioma

Procurar outros idiomas de código