regex in mongoose code example
Example: regex mongoose
db.products.find( { description: { $regex: /string/, $options: 'si' } } )
db.products.find( { 'description.key': { $regex: /string/, $options: 'si' } } )
db.products.find({"name" : { $regex:"Cola", $options:"i" }})