I have an issue with special character in collection. I have huge number of documents in a collection. I want to loop through all the document for particular field and if there is any special character (period) present in that field value then i want to remove that special character. Please note i did not include full document structure as its huge document. Just mentioned only the field name for the reference.
Currently i have totalValue like this. I want to remove only period (.) in the value part
"totals" : {"totalValue" : "2196.65"}
I want to make it like this after the update query
"totals" : {"totalValue" : "219665"}
Please share me the details of how to fix this.