Check for Valid E-mail ID

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lucky13
    New Member
    • Aug 2007
    • 24

    Check for Valid E-mail ID

    Hello All,

    I want to check the Valid E-mail id is entered by user or not in the e-mail id field. means if user will not enter the @ sign & Domain name , user must receive a message that" Please enter the Valid email id"

    Thanks & Regards
    LUCKY13
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    You need to check for existance of "@" symbol and atleast one "." from the user input. Since diffferent domian have different format ,checking these two will be sufficent.

    Comment

    • BlackMustard
      New Member
      • Aug 2007
      • 88

      #3
      Originally posted by lucky13
      Hello All,

      I want to check the Valid E-mail id is entered by user or not in the e-mail id field. means if user will not enter the @ sign & Domain name , user must receive a message that" Please enter the Valid email id"

      Thanks & Regards
      LUCKY13
      take a look at regular expressions - checking for valid email addresses is one of the most common usage areas for this.

      you can find more info at regularexpressi ons.info, regexlib.com or by googling for "regular expressions".

      Comment

      Working...