Hi, > You're only checking for valid characters at the *start* of the > string, you > need to check to the *end* of the string as well: > > "^[A-Za-z0-9 #-]{1,20}$" > > ought to do it.
It sure did do it. Thank you! I didn't realize that the $ did that. Thanks for the info. -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php