Home  |  Linux  | Mysql  | PHP  | XML
Date:Sat Feb  6 17:11:39 2016
Subject:RE: preg_replace() newline


-------- Original message --------
From: Danny <[email protected]>
Date: 02/06/2016 05:42 (GMT-08:00)
To: [email protected]
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

Navigate in group php.general at sever news.php.net
Previous Next





  
© No Copyright
You are free to use Anything, but please consult your advocate before doing so as this website
also list content from other sources which may be copyrighted.