Regular Expression by Exception
| From: | Alberto García Gómez | Date: | Tue, 05 Aug 2008 05:35:41 +0000 |
| Subject: | Regular Expression by Exception | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-277695@lists.php.net to get a copy of this message | ||
Fellows:
If I use ereg_replace($params, $string) I can replace the char that match with $params in the $string.
BUT, how I can replace ALL chars EXCEPT the chars in $params.
Something like !$params, I think