|
-
Mar 12th, 2007, 03:24 PM
#1
[RESOLVED] Regular expressions - Username
I already have a function to check for a valid e-mail address using regular expressions, but I had written it awhile ago when I was still familiar with them.
Now I need one to check for a valid username. The username can only have letters, numbers, underscores (_), spaces, and a single period.
It has to start with a letter. It cannot have consecutive spaces (2 or more in a row).
Can someone help me?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|