Invalid E-mail Characters
Moderator: General Moderators
-
php_wiz_kid
- Forum Contributor
- Posts: 181
- Joined: Tue Jun 24, 2003 7:33 pm
Invalid E-mail Characters
Can someone give me a list of the characters that are not permitted in e-mail addresses? This will be for e-mail validation. Thanks.
- scorphus
- Forum Regular
- Posts: 589
- Joined: Fri May 09, 2003 11:53 pm
- Location: Belo Horizonte, Brazil
- Contact:
I was just SingTFW for Regular Expression stuff and found this: http://examples.oreilly.com/regex/. It might be helpful. Sorry if it's not.
Cheers
Scorphus.
Cheers
Scorphus.
- mrvanjohnson
- Forum Contributor
- Posts: 137
- Joined: Wed May 28, 2003 11:38 am
- Location: San Diego, CA
Here's the RegEx I ended up using on my form validation for emails
Seems to work.
Code: Select all
'/^(їa-zA-Z0-9])+(ї\.a-zA-Z0-9_-])*@(їa-zA-Z0-9_-])+(\.їa-zA-Z0-9_-]+)+/'