Database

[{"key":1},{"key":2}]

Query

db.collection.aggregate([{$match:{$expr:{"$regexFind":{"input":{$toString:"$key"},"regex":"\\d"}}}}])

Result