Expurgate
/ˈɛks.pɚ.ɡeɪt/
verb
To edit out (incorrect, offensive, or otherwise undesirable information) from a book or other publication; to cleanse; to purge.
“The publisher decided to expurgate the love scene from the book, to make it more child-friendly.”
To undertake editing out incorrect, offensive, or otherwise undesirable information from (a book or other publication); to cleanse; to purge.
“The publisher decided to expurgate the book, which meant removing the love scene.”