Jump to content

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. 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.