View Single Post
  #2  
Old 20 Mar 2010, 00:36
final kaoss final kaoss is offline
 
Join Date: Apr 2006
look in the user registration options in your admin cp. You can toggle the settings so they can't use those characters in a username


Username Regular Expression
You may require the username to match a PCRE-type regular expression.

(Do not start or end the expression with an escape character)

Examples:

^[A-Z]+$ - Characters from A-Z only
^[A-Z ]+$ - Characters from A-Z including space
^[A-Z0-9 ]+$ - Alphanumeric characters including space
^((?!&#\d+;)[\x20-\x7E])+$ - ASCII characters from 32-127

See PHP.net for more information on regular expressions.
Reply With Quote