I’m using the Login extra and the snippet
[[!Register]] to register an user.
I don’t want crazy user names that can broke something in there so I’m trying to validate the username to only accept: lowercase, uppercase, numbers that is it.
No extra characters of any kind and no spaces
[a-zA-Z0-9]+$ still accepting characters between letters.
Any guide please?
here the validation part:
&validate=`nospam:blank, username:required:minLength=^4^:maxLength=^15^:strip=^ ^:regexp=^/[a-zA-Z0-9]+$/^, '