RE: [PHP] preg_replace() newline
| From: | Jim Lucas | Date: | Sat, 06 Feb 2016 17:11:39 +0000 |
| Subject: | RE: [PHP] preg_replace() newline | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-325388@lists.php.net to get a copy of this message | ||
-------- Original message --------
From: Danny <mynixmail@gmail.com>
Date: 02/06/2016 05:42 (GMT-08:00)
To: php-general@lists.php.net
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