Search string values with a regular expression.
Section: Filter patterns
Regex match
javascript
javascript
db.users.find({ email: /@example\.com$/i })Explanation
Regex is flexible but can be expensive without the right patterns and indexes.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Filter patterns