const temp = req.query.text; const result = await User.find({ name: { $regex: /req.query.text/i }, }).select("name"); console.log(result); return res.json(20