Record in database:
{
    "_id" : ObjectId("5b97b20e7b473d1ee468a972"),
    "name" : "insearch.com wiki",
    "description" : "insearch",
    "createdAt" : ISODate("2018-09-11T12:16:14.181Z"),
    "updatedAt" : ISODate("2018-09-11T12:16:14.181Z"),
    "__v" : 0
}
Search Query
db.getCollection('contents').find({name:{$regex: '.', $options: "i"}})
How can I search the record when I give "." (only dot operator) in search box.
 
    