标签: node.js regex mongodb
如何在regex ##中使用变量
const hospital = await Hospital.find({ Hospital_Name: /^req.body.query/i }).select({ Hospital_Name: 1 });
regex