Search results

  1. B

    php regular expression?

    I need to check a password that at least 8 in legnth and shoul have at least one number and at least one capital letter the rest can be lowercase but only alphanumeric, I tried this but it keeps on saying its invalid $pattern = '/^(?=.*[0-9])(?=.*[a-z])(?=.*[A-Z]).{4 ,8+}$/'; $password =...
  2. B

    Hi I need a regular expression for php?

    for a password preg_match format it needs to contain one uppercase letter, at least one number and be 8 characters long and only alphanumeric. I'm a beginner at regex please help, Thanks Sarah
Back
Top