Hi,
> return (preg_match("/^[a-z0-9]+$/i", $string));
That a-z0-9 is where you can do it. Just add ! or . or ? to the end:
a-z0-9!?.
Also, if you want upper case letters, make sure you add A-Z:
A-Za-z0-9!?.
-Dan Joseph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

