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
/
((?i)[A-Z]+)c
/
gm
Test String
New
abcABC 说明:局部(ab)的大小写被忽略了,(?i)的作用范围在分组1内
Extraction
Processing...