Regex for password policy



Hi folks,

how can I merge these requirements into one regex?
string shall be comprised of chars from following sequences: A-Z; a-z;
0-9
string shall at least have 8 chars
at least one upper case letter should be contained (at any position)
at least one number should be contained (at any position)

Any idea?

TIA

Frank
frank_ratzlow@xxxxxxxxxxxxxxxxxx

.



Relevant Pages

  • Re: Regex for password policy
    ... >> Hi folks, ... >> how can I merge these requirements into one regex? ... >> string shall at least have 8 chars ...
    (comp.lang.java.programmer)
  • Re: Regex for password policy
    ... > Hi folks, ... > how can I merge these requirements into one regex? ... > string shall at least have 8 chars ...
    (comp.lang.java.programmer)
  • Re: [string totitle "ab cd ef"] does not output "Ab Cd Ef" but instead "Ab
    ... > It makes the first character upper case and the rest lower case, ... > If I were implementing from scratch, I would have [string tosentence ... tolower sets all chars to lower case ...
    (comp.lang.tcl)
  • clr sql server function
    ... ByVal matchString As String) As Boolean ... Dim r1 As Regex = New Regex, ... It means everything over 4000 chars will be ignored. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Check HTML style sheet?
    ... For PHP, the HTML is pretty much a bunch of chars (a string) and nothing more, which that lets with one option: search the HTML for a given string. ... I think I will have to write a regex but if anyone has any ideas, ...
    (php.general)