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
/
(?:leaflet|mapbox)[\w\-\._]*(?:-script)?
/
g
Input 1
id="leaflet" id="mapbox" id="leaflet-script" id="mapbox-script" id="leaflet-0.7.2-script" id="webmap-leaflet-0.7.2"