Deleting edges within surfaces

 From:  yakas
Hi everyone,
I am was wondering if there was a quick way to delete the edges leftover from joining two plane surfaces. I am currently reselecting the boundary and creating a new plane, it takes awhile to do because I have many lines to select.