Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
<div>.*<\/div>
/
gm
Input 1
1
New
<div>你好</div> <div>表示该字符开头 .表示匹配任意字符(除换行符) *表示任意几位 \转义符,因为/有其特殊意义 </div>表示以该字符结尾
Extraction
<div>你好</div> <div>表示该字符开头 .表示匹配任意字符(除换行符) *表示任意几位 \转义符,因为/有其特殊意义 </div>表示以该字符结尾