• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 RegEx Help


Active member

I have this:
^[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.