Dear All
I'm trying to check whether the Username does not contain special characters, but it is not working, could you please let me know what the issue is:
if (!preg_match("[a-z0-9A-Z]", $upass)) echo "You must enter only a-z 0-9 A-Z characters in your password";
Please let me know where I'm going wrong.
Thanks & Regards