RE: [PHP] Remove punctuation
| From: | Jay Blanchard | Date: | Thu, 09 Sep 2004 18:31:35 +0000 |
| Subject: | RE: [PHP] Remove punctuation | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-196238@lists.php.net to get a copy of this message | ||
[snip]
I am creating a function that will remove punctuation from a string,
however, I am wondering if PHP has a function somewhere that will do the
same.
Right now my approach is to cycle through an array of punctuation and
remove
the items.
Anything already exist?
[/snip]
Have you looked at regular expressions? http://us4.php.net/regex