Hi Marie @delama ,
In that file, the ‘holes’ were already Selected on all the dice, but if not, you can go into Edit Mode and Select one of the two Materials and then click Select:

Or more general, you can Select the middle Vertex (in Vertex Select Mode) of one of the ‘holes’:

and then go to the Select Menu, or use SHIFT+G and Select Similar to get all the middles of all the holes and then CTRL NUMPAD+ a few times, like Omar said.