note 11272 added to ereg_replace

From: Date: Tue, 13 Feb 2001 19:05:54 +0000
Subject: note 11272 added to ereg_replace
Groups: php.notes 
Request: Send a blank email to php-notes+get-11010@lists.php.net to get a copy of this message
if u want to delete everything from a string but not a-z, A-Z, 0-9 . - and " " u can use this : $string = ereg_replace ("[^a-zA-Z0-9.-[:space]]","",$string); have fun andreas http://www.php.net/manual/en/function.ereg-replace.php

« previous php.notes (#11010) next »