O'Reilly logo

ASP.NET by Example by Steven A. Smith

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

RegularExpressionValidator Control

Before we go into this control, let's briefly discuss regular expressions, what they are, and how they are used. A complete coverage of regular expressions is well beyond the scope of this chapter (and this book!), but in this chapter we will provide you with a brief introduction to this powerful tool, along with a number of helpful examples and references to resources where you can find more information. Regular expressions are often the simplest, easiest way to search or compare strings, so they naturally can be very powerful when used to validate user input on forms.

A regular expression is a pattern of text that serves as a template for a particular character pattern. Strings can then be evaluated to determine ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required