note 22757 deleted from pcre.pattern.syntax by sniper
| From: | sniper@php.net | Date: | Tue, 30 Sep 2003 12:20:38 +0000 |
| Subject: | note 22757 deleted from pcre.pattern.syntax by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-57419@lists.php.net to get a copy of this message | ||
Note Submitter: f-dot-bantner-at-axon-e.de
----
If you're dealing with textstrings which could come from mac | pc | unix then care attention to
the different newline charackters. If you only want to remove them preg_replace(
'/[\n\r]/', '', $text ) does the trick.