-
Regex question
Hi,
I'm really no good at regexp's so i hope that there is someone out there who can help me with the following problem:
I want to preg_match check a username variable so that it only allows the following:
A-Z a-z 0-9
@
Foreign character sets defined in UTF-8
So anything else needs to be denied, including {}[]*()&^%$#!|
I know how to check against the first 2, but the Foreign sets are a real pain in the butt that i can't seem to get around.
.
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
Bookmarks