Join separeted edges

I’m with this kind of retangle and the edge below are separeted by 4 parts (picture link).

How can I join all edges parts in one edge?

Choose Vertix Mode and simply Merge the Vertix by Choosing two Vertix at a time and pressing ALT+M

Select all the vertices between the two end vertices and delete it all. Select two end vertices than press [F] to add new single edge.

Some time simple thing in Blender seems a lot hard! :spin:
Thanks for the helps. Is fixed now.