I'm trying to do a simple search and replace in mongodb ver 2.6.6.
Here is my find command:
db.name.find({'level1.level2.text' : /.*http:\/\/www\.oldurl\.com\/.*/ })
and I want to replace it with https://www.newurl.com/test
I've tried looking up various methods but since ours is an older version of mongo, I can't find the correct syntax.