I'm trying to exclude some records in a MongoDB query. I need to exclude records that contain a certain part of a string.

This is what I have so far. Finding records by date, and excluding records where `user_id` is nil is working. However, removing records that contain the string is not working.

```
db.collection('' + site_id + '_' + process_name).find({user_id: { $ne: null }, page: { $ne: {$regex:".*.this_string_value.com.*"}}, created_at: {"$gte": new Date("" + date + "")}}).toArray(function(err, result) { ...

```

I'm struggling to find the syntax for this, most examples are about finding a value based on a string, not excluding it so I am having a hard time getting the syntax correct.

If someone out there sees what I am doing wrong and can offer some help it would be greatly appreciated.