Subscribe
Tutorial search

Validate an email address using regular expressions - ASP.NET tutorial


email address are the means of communication with people around the world. While processing forms email address validation plays an important. Proper email validation strengthen our contact list, ban spamming and protect us from robot form filling (Form AutoFill). Here we are going to design a regular expression pattern to validate email address. which will check to make sure an e-mail address is a valid address, and in proper format means containing an username, at sign (@), and valid hostname. For example, admin@samplehost.com is valid, but SPAM@badhost is invalid. Most of email service provides limit the use of literals for email address creation. Only letters (a-z,A-Z), numbers (0-9), hyphens (-), underscore (_) and periods (.) are allowed and no special characters are accepted. You can add or remove any literals to your regular expression.
Category: ASP.NET tutorials - Difficulty:


More cool ASP.NET tutorials:



What is Active Server Pages.net?
What is Active Server Pages.net?
This is an overview of ASP+. Explains what it is, what it can do, the difference between ASP and ASP+, and other properties of ASP+.
Difficulty:
Adding Rich Text Editor in ASP.Net
Adding Rich Text Editor in ASP.Net
Few simple steps to integrate FCK editor (rich text editor) in ASP.Net
Difficulty:
Using Calendar Control in ASP.NET
Using Calendar Control in ASP.NET
Calendar is one of the Rich Web Controls available in ASP.NET. Calendar is used to display a one-month calendar. This tutorial explains how to use Calendar Control to select dates or time periods.
Difficulty:
Use Asynchronous Execution Pattern in ASP.NET
Use Asynchronous Execution Pattern in ASP.NET
Asynchronous operations or execution pattern is another face of multithreading. Some operations are time consuming, take long time to complete, and block user interface waiting for their completion. This tutorial explains how to to create asynchronous pages for long time consuming operations.
Difficulty:
Build Your First ASP.NET MVC Application
Build Your First ASP.NET MVC Application
This chapter describes the ASP.NET MVC project template that is installed in Visual Studio. A simple application is built, briefly touching on all of the aspects of the ASP.NET MVC framework.
Difficulty: