MongoDB: How Find the document where their name starts with “S” and “R”?

Solution 1:

You can use | pipe sign to put or condition in regex,

db.employees.find({
  Name: /^S|^R/
})

Playground