![]() |
Prevent special characters when registering an account
I only want to allow the following characters for nicknames when someone is registering an account at register.php:
a ... z A ... Z 0 ... 9 underscore "_" How can I achieve this? |
Use REGEX ^[a-zA-Z0-9??????]*$ read about it here http://www.regular-expressions.info/unicode.html
|
Quote:
Also I'd like to allow white spaces " " in nicknames (yes, the character you make when you press the spacebar button in your keyboard). |
Did you read the link? the fact that a-z are allowed means every character between a AND z including a AND z are allowed.
The bold snippet is for foriegn characters. |
All times are GMT. The time now is 06:52 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|