#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2004
    Posts
    57
    Rep Power
    15

    Regex for Password


    Hi,

    I would like to ask how can I have a Regex for password to prevent any space in the password and to accept only numbers OR letters OR alphanumeric, minimum 6 and max of 20 characters?



    Thanks,
    Jassim
    Regards,
    Jassim
    RMC - UME
    Xoom Page
  2. #2
  3. Backwards Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    16,915
    Rep Power
    9646
    Your password requirements are terrible. Why do you want to cripple the strength of people's passwords?

IMN logo majestic logo threadwatch logo seochat tools logo