var keyword = "你好";db.user.find({title:{$regex:keyword}}); var keyword = "你好";var reg = new RegExp(keyword);db.user.find({title:reg});