extract cells by type from unstructured grid

Hello Everyone,
I have to extract from an unstructured grid .vtu a region defined by cells type. I have to extract all the wedge cells.
Doing this by selecting thousands of cell in the spreadsheet view wears me out.
How can this be done with a programmable filter?
Thank you

You can use the Count Cell Vertices filter, then Threshold on Vertex Count==6. This won’t work if you have any arbitrary polygon cells that happen to have 6 vertices, but that’s probably an uncommon scenario.

Thank you very much for your answer! It works!