Removing special chars
| From: | Gerry Danen | Date: | Wed, 26 Apr 2006 04:56:14 +0000 |
| Subject: | Removing special chars | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-234765@lists.php.net to get a copy of this message | ||
I would like to replace all chars in a string that are not a-z or 0-9
with a space. I can use a series of str_replace functions, but there
has to be a faster way.
I know there is a solution but my chemo-brain is slowing me down today. Sorry...
Any suggestions?
TIA
Gerry