On a new install I want to force users to choose usernames that can later be ported to a seperate application to create system email accounts for each user. Therefore I need to restrict the characters users can select when chosing their username. In the ACP, would this be the correct PCRE expression to enter to allow ONLY:
A-Z
a-z
0-9
special characters: - _ . +
No spaces, and no other characters beyond the 4 above.
Thanks!
A-Z
a-z
0-9
special characters: - _ . +
No spaces, and no other characters beyond the 4 above.
Thanks!
Code:
^[A-Z0-9.+-_]+$
Comment