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
/
_{3}(?=.*[a-zA-Z_])(.*[a-zA-Z_])_{3}
/
gm
Input 1
1
New
___string_string___ ___test___ __something__ ___sda1231___ ______
Extraction
___string_string___ ___test___ __something__ ___sda1231___ ______