RE: preg_replace() newline

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




-------- Original message --------
From: Danny <mynixmail@xxxxxxxxx> 
Date: 02/06/2016  05:42  (GMT-08:00) 
To: php-general@xxxxxxxxxxxxx 
Subject: [PHP] preg_replace() newline 

Hi,

How can I prevent preg_replace() from adding a blank line below the line it
replaced?


It will only insert what you pass it.  It will not add extra characters.
Show you code

Thank You
Danny

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux