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|]P|(G]|[.])\$$
/
gm
Test String
New
PPCG ^P ^[P^]P [^?][PG]$ (?<!\\..)(?!]).$ ^[\w^]*$|!|]P|G]\$$ !|[^?]P(CG|G..)?$ [^])]\$|^\^?P|P.\].$ ([.$?]|G\])\$$|^\^?P|\]P$ ([P.$?]\$|[]^]P|G\]\$|CG)$ [PPCG] ^[P\^] [^\]]$ ^\^?P [^?][PG]$|<|PG ^[^\\|]*(\\\\)+[^\\|]*[^\]]$ ^(.{,4}|.{9}|.{16,19}|.{5}P)$ ^[^?]*[PG]$|[?$].*\$$
Extraction
Processing...