Jump to content


Photo

A good regular expression for testing email addresses


  • Please log in to reply
1 reply to this topic

#1 MortimerJazz

MortimerJazz
  • Members
  • PipPipPip
  • Advanced Member
  • 60 posts
  • LocationBedfordshire

Posted 08 August 2006 - 09:30 AM

Hi there,

I'm sure this question must have come up before, but having searched through the forum, I can't actually find an answer to it.

I'm looking for a good regular expression to use in order to test the validity of an email address before it gets inserted into a database.

Any links or suggestions you have would be really appreciated.

Thanks alot in advance,
Morty

#2 Kris

Kris
  • Staff Alumni
  • Advanced Member
  • 2,755 posts
  • LocationThe Internet

Posted 08 August 2006 - 10:39 AM

Yes, this has been covered many a time. Use the search facility of the forums, or check the regular expressions forum - Which I have moved this topic to.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users