T TDUBS Active member Jul 3, 2015 #1 Hello, I have this: Code: ^[a-zA-Z0-9@._ ]+$ In my User Registration options and I am wondering how I can go about disallowing spaces as well. I think it makes things look off when users use spaces in their username so I want to disallow it upon registration. Thank you.
Hello, I have this: Code: ^[a-zA-Z0-9@._ ]+$ In my User Registration options and I am wondering how I can go about disallowing spaces as well. I think it makes things look off when users use spaces in their username so I want to disallow it upon registration. Thank you.
EQnoble Well-known member Jul 3, 2015 #2 Literally remove the space. Code: ^[a-zA-Z0-9@._]*$ Last edited: Jul 3, 2015 Upvote 0 Downvote
T TDUBS Active member Jul 3, 2015 #3 EQnoble said: Literally remove the space. Code: ^[a-zA-Z0-9@._]*$ Click to expand... I'm not familiar with RegEx, but thanks for the help. Upvote 0 Downvote
EQnoble said: Literally remove the space. Code: ^[a-zA-Z0-9@._]*$ Click to expand... I'm not familiar with RegEx, but thanks for the help.