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
/
^(?:(?!\.bin\.js$).)+\.js$
/
gm
Input 1
New
I want to match the following: file1.js file2.src.js file3.bin.src.js But not: file1.bin.js file2.src.bin.js