By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,592 Members | 2,005 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,592 IT Pros & Developers. It's quick & easy.

Check for Valid E-mail ID

P: 24
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
Dec 7 '07 #1
Share this Question
Share on Google+
2 Replies


debasisdas
Expert 5K+
P: 8,127
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.
Dec 7 '07 #2

P: 88
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 regularexpressions.info, regexlib.com or by googling for "regular expressions".
Dec 7 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.