473,287 Members | 1,613 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,287 software developers and data experts.

Password Validation

Ron
Hi,
I need a regular expression for a login control i am using.
It needs to validate a minimum password length of 8.
Must consist of 1 upper case character and 1 numeric character and no
non-alphanumeric characters.

Can some one please show me an example.
I tried the following but have had no luck.

ValidationExpression="\[A-Z]{1,}\[a-z]{6,}\d{1,}"
ValidationExpression="\[A-Z]{1,}\w{6,}\d{1,}"
Thanks,
Ron
May 19 '06 #1
1 1605
http://regexlib.com/REDetails.aspx?regexp_id=31

You can have loads of RE from this link.

Pls provide feedback.

"Ron" wrote:
Hi,
I need a regular expression for a login control i am using.
It needs to validate a minimum password length of 8.
Must consist of 1 upper case character and 1 numeric character and no
non-alphanumeric characters.

Can some one please show me an example.
I tried the following but have had no luck.

ValidationExpression="\[A-Z]{1,}\[a-z]{6,}\d{1,}"
ValidationExpression="\[A-Z]{1,}\w{6,}\d{1,}"
Thanks,
Ron

May 19 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Lim Eng Teik | last post by:
I was asked by a client to make changes for their Outlook Web Access page where I need to validate Expiry Date of the Password and also the Password Length for the NT Account Policy. Initially I...
2
by: Christian Carlsen | last post by:
Hello, I need to validate a password: In order for the password to be accepted the following requirements must be met: At least one uppercase character (position in password is irrelevant) At...
1
by: brijesh | last post by:
i am relatively new to javascript i am trying for a password validation code but iam not able to stop the page from loading the page when the password is wrong. the code is as below...
7
by: Mike | last post by:
I've been trying for the past week to put a simple code together. I have done a LOT of searching, found scripts showing the functions I would like to use, however when I mix them it all goes wrong,...
9
by: Stirling | last post by:
Hi all, hope someone can help me, I am looking to do a password validation check using client side validation. Minimum requirement is that it must contain at least one number and one letter. ...
3
by: Morgan Roderick | last post by:
Hi How do I control the password complexity for users registering themselves in a webapp using Membership? From http://beta.asp.net/QUICKSTART/aspnet/doc/security/membership.aspx "Note that...
0
by: Steven | last post by:
Currently, I want to create a setup project which needs the user to input a specify password or validation code before installation. If the input password/validation code is not correct, the...
15
by: Eugene Anthony | last post by:
Is this method of validation for password and username considered to be secured. In my previous post I was given a solution that uses command object and the values are parsed by parameters. But the...
10
by: canam | last post by:
Hi: I hope someone can help me. Is there a way to add a password to a particular field in the event that the validation rule must be over written? I've created an input form in a...
1
by: shwethatj | last post by:
My problem is lik this , I am trying to create a registration form using javascript for a HR website , but i dont know how to provide password validation i.e the password and confirmation password...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.