Jump to content


Photo

check email problem


  • Please log in to reply
1 reply to this topic

#1 neugi

neugi
  • Members
  • PipPipPip
  • Advanced Member
  • 63 posts

Posted 07 April 2006 - 06:52 AM

Hi,

i make this ereg check on emails

"^[A-Za-z0-9](([_\.\-]?[a-zA-Z0-9]+)*)@([A-Za-z0-9]+)(([\.\-]?[a-zA-Z0-9]+)*)\.([A-Za-z{4,})$"

but if i enter a email like this n-eugi@xxx.yy it dont work. if i change the email to neugi@xxx.yy it works.

what i'm doing wrong?

thx

#2 neugi

neugi
  • Members
  • PipPipPip
  • Advanced Member
  • 63 posts

Posted 11 April 2006 - 11:42 AM

[!--quoteo(post=362448:date=Apr 7 2006, 01:52 AM:name=neugi)--][div class=\'quotetop\']QUOTE(neugi @ Apr 7 2006, 01:52 AM) View Post[/div][div class=\'quotemain\'][!--quotec--]
Hi,

i make this ereg check on emails

"^[A-Za-z0-9](([_\.\-]?[a-zA-Z0-9]+)*)@([A-Za-z0-9]+)(([\.\-]?[a-zA-Z0-9]+)*)\.([A-Za-z{4,})$"

but if i enter a email like this n-eugi@xxx.yy it dont work. if i change the email to neugi@xxx.yy it works.

what i'm doing wrong?

thx
[/quote]

can't anybody help me?

best





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users