What does this regular expression mean in joomla?

I tried to install joomla on my website. When installing joomla, I was asked to create the user MYSQl. But I could not, because every time I enter the password, it gives a message that the password word does not match the requirement of the reqular expression. Below is the regex

'(?=^.{8,}$)((?=.*\d)|(?=.*\W+))(?![.\n])(?=.*[AZ])(?=.*[az]).*$' 

What does it mean? What password can I give? Give an example of a password that will pass this regular expression test. Please help me

+4
source share
2 answers

(? = ^. {8} $)

This part means 8 more characters, and the match starts at the beginning of the input.

((? =. * \ D)

The tool contains a number.

| (?. = * \ W +))

Or contains something that is neither a letter nor a number

(?! [.\P])

not starting with a newline or UNIX.

(? =. * [AZ])

Contains at least one uppercase letter.

(? =. * [A-d])

Contains at least one lowercase letter

. * $

It consists solely of characters other than a newline, and the consistent group will contain the entire line.

+6
source

The password must be 8 characters or more, at least one digit or non-character, at least one lower alpha and at least one upper alpha, and not starting with . or a new line (seriously?)

Example: Manojlds9

+1
source

All Articles