Planet of Coders
Web Design & Development Articles, Question-Answers, etc...
Skip to content
  • Home
  • About Author
  • Author’s Resume
  • Contact to Author
  • Hire the Author
  • Site Stats
Planet of Coders » Regular Expression Validation

Category Archives: Regular Expression Validation

Regular expressions are a good way to validate text fields such as names, addresses, phone numbers, and other user information. You can use them to constrain input, apply formatting rules, and check lengths. To validate input captured with server controls, you can use the RegularExpressionValidator control. To validate other forms of input, such as query strings, cookies, and HTML control input, you can use the System.Text.RegularExpressions.Regex class.

Password Regular Expression Validation

  By Gaurav Agrawal | July 21, 2012 - 4:06 PM | Regular Expression Validation
Leave a comment

Password matching expression. Password must be at least 6 characters, no more than 10 characters, and must include at least one upper case letter, one lower case letter, and one numeric digit. Expression ^(?=.*d)(?=.*[a-z])(?=.*[A-Z]).{6,10}$ Matches asD1 | asDF1234 | ASPgo123 Non-Matches asdf | 1234 | ASDF12345

Tagged Regular Expression
  • Search You Want

  • Post’s Classifications

    • .Net Programming (253)
    • Certifications (83)
    • Data Structure Concepts (16)
    • Database Management (82)
    • General Information (36)
    • Graphics/Designing (4)
    • Interview Question-Answer (19)
    • Methodology Concept (1)
    • MOSS (5)
    • OOPs Concepts (50)
    • Regular Expression Validation (1)
    • Reporting Services (1)
    • Script Programming (15)
    • Server Management (5)
    • Third Party Products (2)
  • Email Subscription 4 Updates

    Enter your email address: Note: After subscription you will get an email from FeedBurner. Please check this mail in your Inbox or Spam box and click on confirmation link.
  • Post’s Tags

    .Net Ado.Net Application Development Foundation Asp.Net Assembly C# Caching C Programming CSS Database Development Data Structure Designing Design Pattern EBook General HR IIS Interview Q-A IT JavaScript JSON Linq-to-SQL Methodology MVC OOPs Regular Expression SDLC SharePoint Silverlight Silverlight Development SQL SQL Server SSRS State Management WCF Web-Service Web Developer 4.0 Windows Applications Development Windows Azure Applications
  • Archives

    • May 2013 (21)
    • April 2013 (30)
    • March 2013 (31)
    • February 2013 (28)
    • January 2013 (31)
    • December 2012 (31)
    • November 2012 (30)
    • October 2012 (31)
    • September 2012 (30)
    • August 2012 (31)
    • July 2012 (31)
    • June 2012 (30)
    • May 2012 (31)
    • April 2012 (30)
    • March 2012 (31)
    • February 2012 (29)
    • January 2012 (31)

  • Search by Date

    May 2013
    M T W T F S S
    « Apr    
     12345
    6789101112
    13141516171819
    20212223242526
    2728293031  
  • Recent Comment

    • Pattie Vorhies on How to use watermark property on password textbox in a web-page?
    • Baswanthrao Patil on Which ASP.NET authentication mode is best suited to identifying and authorizing users who belong to a corporate network?
    • Gaurav Agrawal on SQL Server 2008 Sample Questions – 1
    • Mahesh Nagar on SQL Server 2008 Sample Questions – 1
  • Donation/Payment

    Donate any amount to the website maintenance or Pay to me for my Freelancing Service

  • Check PageRank
Planet of Coders © 2012-2013 | Created by Gaurav Agrawal