Help with reg Exp for web.config

Posted on 2014-02-05
Medium Priority
Last Modified: 2014-02-06
Hi there

Hope you can help me out

In the web.config I have to add a Property called


the RegExp must be

English uppercase characters (A - Z)
English lowercase characters (a - z)
Base 10 digits (0 - 9)

... and you MUST have 1 of each item i.e.

1 UpperCase char
1 LowerCare char
1 number between 0 - 9

Can someone please help me with the regexp

Question by:mousemat24
  • 2
  • 2
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 39836362
This should do it:


Open in new window


Author Comment

ID: 39838524

I went to this site, added your regex to it


and entered the following text, that "should" of worked, but did not

LVL 75

Accepted Solution

käµfm³d   👽 earned 2000 total points
ID: 39838795
What a difference a single character can make!!  I used the wrong quantifier:


Open in new window


Author Comment

ID: 39838972
that worked, thank you so much for your help!

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
High user turnover can cause old/redundant user data to consume valuable space. UserResourceCleanup was developed to address this by automatically deleting user folders when the user account is deleted.
When you have multiple client accounts to manage, it often feels like there aren’t enough hours in the day. With too many applications to juggle, you can’t focus on your clients, much less your growing to-do list. But that doesn’t have to be the cas…
To export Lotus Notes to Outlook PST or Exchange and Domino Server files to Exchange Server or PST files with ease, go for Kernel for Lotus Notes to Outlook conversion tool. Through the video, you can watch the conversion process. A common user with…

588 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question