like query mongodb code example
Example 1: mongodb find like
db.users.find({"name": /.*m.*/});
db.users.find({"name": /m/});
Items.find({"description": {$regex: ".*" + variable + ".*"}}).fetch();
Example 2: contains mongo-query string
db.users.findOne({"username" : {$regex : ".*son.*"}});
Example 3: like in mongodb
db.users.find({"name": /m/})
Example 4: like in mongodb
db.users.find({"name": /.*m.*/})