^start of line
Positive Lookahead(?=(?:\w*\W){12}(\w)(\D).{4}(.)\S\s(.)(\D)) Non-Capturing Group(?:\w*\W){12} {12}repeats the group contents below exactly 12 times:
\w*any word character, repeated any number of times
\Wany non-word character
\Dany character that's not a digit
.{4}any character (except for line terminators), repeated exactly 4 times
.any character (except for line terminators)
\Sany non-whitespace character
\sany whitespace character
.any character (except for line terminators)
\Dany character that's not a digit
Negated Character Class[^a]+ +matches at least one character outside the set below:
athe literal a (9710 / 1418 / 6116) (case sensitive)
.any character (except for line terminators)
Positive Lookahead(?=.*?(?![^p])(.)\w*(\w)) .*?any character (except for line terminators), repeated any number of times
Negative Lookahead(?![^p]) Negated Character Class[^p] pthe literal p (11210 / 1608 / 7016) (case sensitive)
.any character (except for line terminators)
\w*any word character, repeated any number of times
Negated Character Class[^i]* *matches any number of characters outside the set below:
ithe literal i (10510 / 1518 / 6916) (case sensitive)
Negated Character Class[^\W] \s+any whitespace character, repeated at least once
.any character (except for line terminators)
.any character (except for line terminators)
\sany whitespace character
+matches at least one character from the set below:
rthe literal r (11410 / 1628 / 7216) (case sensitive)
fthe literal f (10210 / 1468 / 6616) (case sensitive)
Negated Character Class[^0-9] 0-9one character from 0 (4810) to 9 (5710)
.any character (except for line terminators)
\ban ASCII word boundary
.any character (except for line terminators)
.?optionally matches any character (except for line terminators)
\Dany character that's not a digit
\w*any word character, repeated any number of times
\Wany non-word character
.any character (except for line terminators)
.any character (except for line terminators)
\Sany non-whitespace character
\sany whitespace character
Negated Character Class[^.]+ \|the literal | (12410 / 1748 / 7C16)
Positive Lookahead(?=\s(\S)) 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