Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Regular
Expressions
101
Regular
Expressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
^[(!P]|G..$|]..\||[^?]P$
/
gm
Test String
New
PPCG ^P ^[P^]P [^?][PG]$ (?<!\\..)(?!]).$ ^[\w^]*$|!|]P|G]\$$ !|[^?]P(CG|G..)?$ [^])]\$|^\^?P|P.\].$ ([.$?]|G\])\$$|^\^?P|\]P$ ([P.$?]\$|[]^]P|G\]\$|CG)$ !|((G.|P|\.)\$|[^?]P|CG)$ [PPCG] ^[P\^] [^\]]$ ^\^?P [^?][PG]$|<|PG ^[^\\|]*(\\\\)+[^\\|]*[^\]]$ ^(.{,4}|.{9}|.{16,19}|.{5}P)$ ^[^?]*[PG]$|[?$].*\$$ ^[^[]P|]P|(G]|[.])\$$ \..$|!|\|G|^[\^P]P|P\^|G.\$$ ...\^.P|^!|G]\$$|w|<!|^\^?P
Extraction
Processing...