mongodb find like

JavaScript
db.users.find({"name": /.*m.*/});

db.users.find({"name": /m/});

Items.find({"description": {$regex: ".*" + variable + ".*"}}).fetch();db.users.findOne({"username" : {$regex : ".*son.*"}});
db.users.find({"name": /.*m.*/})
Source

Also in JavaScript: