Regilar expressions problem
| From: | Leif K-Brooks | Date: | Sat, 13 Apr 2002 01:13:27 +0000 |
| Subject: | Regilar expressions problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-92838@lists.php.net to get a copy of this message | ||
I have an interactive website, with forums programmed by me. They have
smilies, and I'm trying to make a way for users to be able to type smilies
without them changing to images if they want. I'm trying to make it so if
they type "NOSMILE:)" it will remove the NOSMILE and not display the smiley.
I use "(NOSMILE){0}:)". The smiliey still displays if it has NOSMILE in
front of it. Any ideas?