hei,

i want to make sure the user enters an email address in the correct format. eg:it shud contain a "@" , period "." and after period it shud make sure there is only 3 characters..

some one told me thet this could be done using regular expressions ..but i have no knowledge of regular expressins in c#..:-/

Recommended Answers

All 2 Replies

See the class System.Text.RegularExpressions.Regex.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.