how to strip empty lines out of a txt using preg_replace()
| From: | Ralph Deffke | Date: | Fri, 04 Sep 2009 12:58:55 +0000 |
| Subject: | how to strip empty lines out of a txt using preg_replace() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-297666@lists.php.net to get a copy of this message | ||
Hi all, I'm a bit under stress, maybe somebody knows the regex on a snap.
using PHP_EOL would be great.
thanks
ralph_deffke@yahoo.de