For a web app I\'m trying to come up with a javascript regex that matches anything not ending in .json. Sounds simple but I\'m finding it pretty damn hard.
.json
maybe instead of testing "match (not .json)" you could test "not match (.json)", which is easy ?