Hi, > It's not so much that your regex is wrong, but there are other functions > that you may want to use, such as is_numeric(), is_integer(), > is_string() (there is a good example of checking for an alphabetic > string on the php site)
That would have been my first choice also, however, with the # and - being
legal, things like ctype_alnum and others don't work out.
-Dan Joseph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

