Regex in MongoDB: Check if a Field Contains a String
In this tutorial, I am going to talk about regex in MongoDB to help check if a field contains a specified string. Regex in MongoDB allows us to look up strings in our collections the way we want. It comes…