note 121282 deleted from function.preg-replace by cmb

From: Date: Sun, 22 Sep 2019 08:00:50 +0000
Subject: note 121282 deleted from function.preg-replace by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-212305@lists.php.net to get a copy of this message
Note Submitter: Benedikt dot Schoeffmann at gmail dot com ---- If you want filter out non-printable characters, but want to keep german Umlauts, use this: $result = preg_replace("/[^[:print:] | ^[öäüÖÄÜß]]/u", "", $string);

« previous php.notes (#212305) next »