Web lists-archives.com

RE: [PHP] preg_replace() newline





-------- 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