I want to search a mongo database with a RegExp
, but instead of returning data with the matched RegExp
I want to return data that does not have the RegExp
.
For example:
Find all data that does not contain a new RegExp("mediaType")
.
I have really bad knowledge of RegExp so I'm not sure how to go about this.