• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Lack of interest [Suggestion] Disable/Enable Special Characters in Username

Fufu

Well-known member
#1
I find it ugly (annoying) to have to list like below in the User Name Validation -> Disallow Words in User Names, instead of having a check box that says Disallow Special Charaters in User Names

!
@
#
$
%
^
&
*
(
)
-
_
=
+
[
{
]
}
|
\
,
<
.
>
/
?
"
'
;
:
`
~
 

Brogan

XenForo moderator
Staff member
#4
Yes :)

Edit: Found this old post by Shadab which has a few more.


RegEx = Regular Expression
Some very simple regular expressions to limit the usernames are:
  • /^[a-z]+$/i (only alphabets allowed)
  • /^[a-z\s]+$/i (alphabets & spaces allowed)
  • /^[a-z0-9]+$/i (alphanumeric characters only)
  • /^[a-z0-9\s]+$/i (alphanumeric & spaces)