mongodb query includes string code example Example: contains mongo-query string Click to copydb.users.findOne({"username" : {$regex : ".*son.*"}});