Help for this page

Select Code to Download


  1. or download this
    (?=(?:.*[A-Za-z].*){1}) # at least one of A-Za-z
    (?=(?:.*[0-9].*){1})    # at least one of 0-9
    (?=(?:^.{8}$)           # match exactly 8 charactters
    
  2. or download this
    qr/^
    (?=(?:.*[A-Za-z].*){1}) # at least one of A-Za-z
    ...
    (?=(?:^.{8}$)           # match exactly 8 charactters
    $
    /x;