/* ------------------------ My Meta Content Here SEO ------------------------ */

Pages

Main Menu

Friday, October 19, 2012

Common Regular Expressions in ASP.NET

Some common regular expressions are shown here: Common Regular Expressions FieldExpressionFormat SamplesDescription Name^[a-zA-Z''-'\s]{1,40}$John Doe O'DellValidates a name. Allows up to 40 uppercase and lowercase characters and a few special characters that are common to some names. You can modify this list. Social Security Number^\d{3}-\d{2}-\d{4}$111-11-1111Validates the format, type, and length of the supplied input field. The input must consist of 3 numeric characters followed...
Read More »

My Blog List