Gossamer Forum
Home : Products : Others : Gossamer Community :

username regex

Quote Reply
username regex
I want to allow Usernames that contain more than one word- and therefore need to allow spaces. Can someone please tell me how to alter the Regex to allow spaces?

Thanks in advance
Quote Reply
Re: [Alba] username regex In reply to
Hi,

Adding \s+ should work. I'm not 100% sure on the regex thats used in the current version, as I've only played with version 1.0.1 and 1.0.2, so it may have changed.

Hope that helps.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] username regex In reply to
Thanks Andy, I'll try that.

As far as I know it is still 1.0.2 that is available.