How to get rid of excess vertices lined up in a straight line I have a cube that is subdivided and with a hole cut through it, but there are 2 excess vertices on each edge between the real vertices. How do i properly delete them without upsetting my project?

EDIT: what to do if the vertex is in the middle of an edge?
Someonewithpc's answer is almost right. The correct operator for this purpose is located in the same menu, it's the Limited Dissolve. It allows to limit the max angle, so setting the value low enough will remove only the excess vertices on straight edges.