I need to scan a few thousand documents in Mongo and find records for which a field has the following substrings:
- any text followed by 2 dots. For example: Co..
- any text that contains a '.' in the middle (i.e. not first and not last) of a string
Also, for either case is there a way to automatically remove the extraneous '.'?