I have transformed a .dxf-file into a polygon shapefile. In many of the polygons I have lines which do not belong there but I can not delete them as I normally delete vertices on polygons by selecting it and pressing the delete key.
Here is an image (the lines which I want to delete are circled in red).