Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
NPC名称匹配
Open Workspace
PCRE (Legacy)
Match
Created 2023-12-25 00:26
1
Regular Expression
/
^\h
{4}
[^
\(
\n
]
+
\(
(
.
*
)
\)
$
/
gm
Description
^\h{4}段首4个横向空格 [^(\n]+不包含左括号、换行符号的其他字符,1~无限循环 ((.*))$捕获处于()之中的任意字符内容,右括号在段尾
Submitted by
vicrly