The following algorithm find all documents that has a <password> entry in the info(string in XML format) field
db.getCollection('products').find({info:{$regex: /<password>/}});
but passwordRecords has 0 elements. Where did i make a mistake? Is it right way to update data in Mongo?
