Deleting Tape Measure 'marks'

Actually, I’ve just realised there is still a tape measure line along the edge of a rectangle shape I’ve made.

But, I still can’t delete it as it deletes the whole side of the shape.

How do I highlight just the tape measure line to enable me to delete it?

Thanks