So I have a field called \'city\' in my results...the results are corrupted, some times it\'s an actual name, sometimes it\'s a number. The following code displays all the recor
Simply use:
db.zips.aggregate([ {$match: { 'city': { $regex: '^[0-9].*'} }}])
This work fine for me!