Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,471
There are 1463 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     Javascript :

Email Validation using Reges in Javascript

Thread title: Email Validation using Reges in Javascript
Reply    
    Thread tools Search this thread Display Modes  
12-11-2008, 08:06 AM
#1
freelancerguy is offline freelancerguy
Status: Junior Member
Join date: Dec 2008
Location:
Expertise:
Software:
 
Posts: 63
iTrader: 1 / 100%
 

freelancerguy is on a distinguished road

Send a message via AIM to freelancerguy Send a message via MSN to freelancerguy Send a message via Yahoo to freelancerguy Send a message via Skype™ to freelancerguy

  Old  Email Validation using Reges in Javascript

Hi All

I am using the following Regex code to validate Email in Javascript.

/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;

Can you please tell me is there any other method to validate Email.

Thanks
Hem

Reply With Quote
05-12-2009, 06:51 PM
#2
Helmet is offline Helmet
Status: I'm new around here
Join date: May 2009
Location:
Expertise:
Software:
 
Posts: 16
iTrader: 0 / 0%
 

Helmet is on a distinguished road

  Old

Do not rely on Javascript to validate ANYTHING. Any user with firebug can bypass your javascript and go straight to the backend script. If you use Javascript to validate, use it as a convenience to the user, then implement the same email regex validation with your back-end script.

Reply With Quote
05-12-2009, 07:08 PM
#3
46Bit is offline 46Bit
Status: Member
Join date: Mar 2009
Location: Yorkshire
Expertise: Web Development
Software:
 
Posts: 275
iTrader: 10 / 100%
 

46Bit is on a distinguished road

Send a message via MSN to 46Bit Send a message via Skype™ to 46Bit

  Old

Does 12-11-2008 mean anything to you?

Reply With Quote
Reply    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed