edit out of
edit (something) out of (something)
To remove something unwanted or unnecessary from something, often a text or film/video, while editing it. A noun or pronoun can be used between "edit" and "out." You should edit this paragraph out of your essay because it doesn’t make much sense. Don't worry, we'll edit that line out of the final version.
edit something out of somethingand edit something out
to strike out words or sentences from something that is going to be published; to cut out textual material in the editing process. She edited the foul language out of the essay. Frank edited out the misspelled words.