Diving deeper into $regex

Is there a comprehensive reference page for the regular expression syntax used by $regex? I don’t find anything in the MongoDB documentation. The $regex page in the manual mentions it uses PCRE 8.41, but where can I find more information about PCRE 8.41 and how to use it?

Hi @Uriel_74090,

Regular expressions are a very powerful technique used for pattern matching. If you want to dive deeper into regex and want to know more about it you can refer this documentation. Once you know how to write regular expressions for pattern matching you can refer our documentation on $regex on how to use it with your MongoDB queries.

Happy Learning :slight_smile:

Shubham Rajan
Curriculum Support Engineer