Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Quick Javascript & RegEx quuestion

 
Kevin P Smith
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm knocking together some validation for a registration page and found this RegEx for validating an email address.
The RegEx works on the website I got it from, but for some reason my page is ignoring it.



Could anyone point out my 'obvious' error as I can't see why it doesn't work.

Just to note, I now have the same issue with my postcode validation:


[ November 29, 2008: Message edited by: Keith Seller ]
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
and how are you calling this code?

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic