MongoDB Fund wie
db.users.find({"name": /.*m.*/});
db.users.find({"name": /m/});
Items.find({"description": {$regex: ".*" + variable + ".*"}}).fetch();
Concerned Chipmunk
db.users.find({"name": /.*m.*/});
db.users.find({"name": /m/});
Items.find({"description": {$regex: ".*" + variable + ".*"}}).fetch();
db.users.findOne({"username" : {$regex : ".*son.*"}});
db.collection.find( { "url": { "$regex": ".*a.*"} } );
db.users.find({"name": /m/})
db.users.find({"name": /.*m.*/})
db.users.find({name: /ro$/}) //like '%ro'