edit out of

edit something out of something

 and 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.
See also: edit, of, out