Go Back   vBulletin Setup > vBulletinSetup Information > vBulletin Questions


Please Register to get full access to the forums.
Post New Thread  Reply



#1   08-07-2007, 03:29 PM
G_Man has a spectacular aura about Join Date: Oct 2006 Posts: 194 Location: Spokane, Washington
Registration Username RegEx Help


Help!!!!

Grrrrr....

I need a regex that I can put in the options for registering and selecting a username that does the following:

Firstname(space)Secondname

Doesn't have to be fancy. No Caps, no middles names, no suffixes, no nothing. Just Alpha only, a space, and the more Alpha only.

I'd actually be willing to pay for this if it works.

Alternatively I'd love to see a hack that has the person enter his/her firstname, then their lastname and then it constructs the username.

I've tried some regex sites, but even the codes that should work don't and I've got no clue how to tweak them.

Cheers,
G_Man
Quote   |  



#2   08-07-2007, 05:35 PM
Send a message via AIM to Brandon Send a message via MSN to Brandon Send a message via Yahoo to Brandon Brandon is a glorious beacon of lightBrandon is a glorious beacon of lightBrandon is a glorious beacon of lightBrandon is a glorious beacon of light Join Date: Jul 2006 Posts: 10,611 Location: Topeka, KS
Re: Registration Username RegEx Help


do you have a link to the code you've tried ?
--------------------
Brandon Sheley / vBulletin Setup Staff
Check out our Newsletter for the latest vB and SEO news.
Are you looking for vBulletin work to be done on your forums ?
Would you like to Help Support vBulletin Setup.
Be sure to check out our latest Contest for a Custom Style.


Add our Facebook Blog, Group and LinkedIn group.. Thanks
Stay up to date by installing our Tool Bar
Quote   |  



#3   08-07-2007, 06:06 PM
G_Man has a spectacular aura about Join Date: Oct 2006 Posts: 194 Location: Spokane, Washington
Re: Registration Username RegEx Help


Quote:
Originally Posted by Brandon View Post
do you have a link to the code you've tried ?
Nope. Not on this machine.

However... I did thorough search on vb.com and found this:

Code:
^[A-Z][a-zA-Z]+ [A-Z][a-zA-Z]+$
Seems to be working. I will testing it more later tonight.

Quote   |  
Post New Thread  Reply
vBulletin Setup > vBulletinSetup Information > vBulletin Questions


Thread Tools
Display Modes

 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Regex on custom user field callumj vBulletin Questions 0 11-21-2007 06:08 AM
Registration problem Stax vBulletin Questions 4 11-14-2007 01:21 PM
what does your username and avatar mean ? Brandon General Discussion 16 08-11-2007 01:20 PM
Registration error, Help Katie hunter vBulletin Questions 4 07-14-2007 05:49 AM
How to change username color jerrygad vBulletin Questions 2 06-24-2007 04:55 AM


All times are GMT -6. The time now is 12:31 PM.

vBulletin Setup, vBulletin Setup Forums, vBulletin Services, vBulletin Blogs, vBulletin SEO, vBulletin Questions, vBulletin Skins, Styles, Templates
vBulletin Hacks / Modifications, vBulletin Monetization, Blogs, vBulletin Link Directory,Quality Link Directory