^start of line
Positive Lookahead(?=.*?[0-9]) .*?any character (except for line terminators), repeated any number of times
0-9one character from 0 (4810) to 9 (5710)
Comment:содержит хотябы одну цифру
Positive Lookahead(?=.*?[A-Z]) .*?any character (except for line terminators), repeated any number of times
A-Zone character from A (6510) to Z (9010) (case sensitive)
Comment:содержит хотябы одну латинскую прописную букву
Positive Lookahead(?=.*?[a-z]) .*?any character (except for line terminators), repeated any number of times
a-zone character from a (9710) to z (12210) (case sensitive)
Comment:содержит хотябы одну латинскую строчную букву
Positive Lookahead(?=.*?[^0-9A-Za-z]) .*?any character (except for line terminators), repeated any number of times
Negated Character Class[^0-9A-Za-z] 0-9one character from 0 (4810) to 9 (5710)
A-Zone character from A (6510) to Z (9010) (case sensitive)
a-zone character from a (9710) to z (12210) (case sensitive)
Comment:содержит хотябы один знак пунктуации: !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~
Comment:не имеют 6 и более подряд совпадающих символов типа "zzzzzz", "000000"
Negative Lookahead(?!.*?(.)\1{5,}) .*?any character (except for line terminators), repeated any number of times
.any character (except for line terminators)
\1{5,}the text saved by group 1, repeated at least 5 times
Comment:не имеет "плохих" последовательностей типа "123456", "abcdef", "qwerty"
Negative Lookahead(?!.*?123456) .*?any character (except for line terminators), repeated any number of times
123456the literal text 123456 Negative Lookahead(?!.*?(?i:qwerty|asdfgh|zxcvbn|qazwsx|abcdef)) .*?any character (except for line terminators), repeated any number of times
Group with flags gmxi(?i:qwerty|asdfgh|zxcvbn|qazwsx|abcdef) i modifier: insensitive. Matches without distinguishing uppercase and lowercase letters
qwertythe literal text qwerty (case insensitive) asdfghthe literal text asdfgh (case insensitive) zxcvbnthe literal text zxcvbn (case insensitive) qazwsxthe literal text qazwsx (case insensitive) abcdefthe literal text abcdef (case insensitive) Comment:допускаются только цифры, английские буквы и знаки пунктуации
Character Class[\x20-\x7e]{8,72} {8,72}matches between 8 and 72 characters from the set below:
\x20-\x7eone character from (3210) to ~ (12610)
Comment:ограничения по кол-ву символов
$end of line
g modifier: global. Finds all matches instead of stopping after the first
m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string
x modifier: extended. Ignores unescaped whitespace and comments outside character classes