标签: regex mongodb
我想在MongoDB中搜索以“ https://en.wikipieda.org”开头的网址
有人知道Regex中“ /”的取消字符吗?
我有以下内容,但由于“ //”而出错
db.RawURLS.find({"url" : { $regex : /^https://en.wikipedia.org/ }}).hint({"url" : 1})