Jump to content

Regexp for best password strength


mostafatalebi

Recommended Posts

Hello

 

I need a regexp for best password stength. I have seen on the net, but they don't need my requirements. I need the regexp to have the following criteria:

 

It only account for passwords with more than 14 characters.

ONLY and ONLY passwords that have blank space (\s) in them.

surely there has to be: sign, UPPERCASE, LOWERCASE and number.

 

I have regexp for all strength level bad, weak, good, not enough and I ONLY need regexp for strength level "best". Thanks in advance

Link to comment
https://forums.phpfreaks.com/topic/275456-regexp-for-best-password-strength/
Share on other sites

It's okay to dupe stuff like this to javascript as a convenience to save on server calls but unless you enforce it server-side then you have already failed. 

 

Also, we aren't here to just give you free stuff, we're here to help you learn. If you don't understand how to do what you asked for, what makes you so sure what you already have works as intended? Post what you've actually tried. 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.