You can use the Trim tool to get rid of lines and curves between two points or in intersections.
- Go to Sketch > Trim.
If you select the sketch, then you can select Trim in the Sketch menu that automatically appears.
- Select the unwanted line segments or curves.
- Select outside of the sketch or Close when you’re done.