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
/
(?:\/(.+?)){2}\/
/
gm
Input 1
1
New
source = shuttle(Oct1-3).zip:./shuttle/5720/LOG/shuttle_log.20171002 source = shuttle_3.zip:./shuttle_3/5720/LOG/shuttle_log.20171011 source = shuttle_3.zip:./isNOT/shuttle_3/5720/LOG/shuttle_log.20171011
Extraction