Database

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

Query

db.collection.find({$expr:{"$regexFind":{"input":{$toString:"$key"},"regex":"\\d"}}})

Result