Re: regular expressions
- From: "Oliver Wong" <owong@xxxxxxxxxxxxxx>
- Date: Tue, 25 Apr 2006 19:08:12 GMT
<2rajesh.b@xxxxxxxxx> wrote in message news:1145883055.318877.19040@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
The password is at least six characters long.
The password contains characters from at least three of the following
five categories:
· English uppercase characters (A - Z)
· English lowercase characters (a - z)
· Base 10 digits (0 - 9)
· Non-alphanumeric (for example: !, $, #, or %)
· Unicode characters
can u please help me in writing a regular expression for the above
condition
All of categories are mutually exclusive except for "Unicode characters". And any character that you can get in memory via a program written in Java is a "unicode character", so that last category seems pretty redundant. Perhaps you mean something like a character within Unicode, but outside of ASCII?
I'm asking you for clarification because it sounds like the above requirements were not dreamt up by you, and so you should in turn be asking whoever assigned you with this task for clarification.
- Oliver
.
- Follow-Ups:
- Re: regular expressions
- From: Roedy Green
- Re: regular expressions
- References:
- regular expressions
- From: 2rajesh . b
- regular expressions
- Prev by Date: Re: Client-Side Encryption and Studio Creator
- Next by Date: Re: Base64Binary to Document
- Previous by thread: Re: regular expressions
- Next by thread: Re: regular expressions
- Index(es):
Relevant Pages
|