Skip to content

Glossary: MongoDB

$regex

Also written: $options

A query operator that matches text against a regular expression. In mongosh you can write it between slashes, with `i` to ignore case.

Where the book teaches it

Related terms

Regular expression