Need help on trying to find $regex query for finding special characters in element value.Example: I have Name column, the value comes out as "GAGN©". I would like to query all items that have any special characters in value.Query:db.collection.find({$and:[{NAME: {$exists: true}},{NAME: {$ne:null}},{NAME: {$ne:""}},{NAME: {$not: /[0-9a-zA-Z-*_#,.\/&();@`'"]/ }} ]});
db.collection.find({NAME: /[^[:print:]]/})