To remove product this is certainly considered unpleasant or objectionable from (a novel, like).
To expurgate, as a book, by omitting or modifying the components considered offensive; to get rid of morally objectionable components; -- stated of literary texts.
How would you define bowdlerize?