Separate Naked Vertices

Hi everyone,

There is a polygon and it was meshed. 

And the naked vertices were found from the mesh.

How can i extract vertices that are along the straight sides of polygon from the naked vertices ??

Thanks for help!