|
-
Aug 23rd, 2003, 12:05 AM
#1
Thread Starter
Addicted Member
Regex Pattern Question
I am tryin to confirm a one word string (nickname) when users sign into my server. the allowed characters should be a-z 0-9 - ^ ~ ` [ ] _ { and }
The pattern I have right now is
(?i:^[a-z0-9_]+\w$)
which works find for alphanumeric with underscores but if I cant figure out how to have it check for the other characters as well i thought adding them into the [] brackets as escape characters would do it but its not working
can anyone help me out here?
Last edited by Tewl; Aug 23rd, 2003 at 12:11 AM.
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
|