Sử dụng regex với tùy chọn không phân biệt kiểu chữ
>db.posts.find({post_text:{$regex:"tutorialspoint",$options:"$i"}}){
"_id" : ObjectId("53493d37d852429c10000004"),
"post_text" : "hey! this is my post on TutorialsPoint",
"tags" : [ "tutorialspoint" ]
}Last updated