to expurgate (a book, etc) by omitting or modifying parts considered too indecent or offensive for family reading
bowdlerism noun
bowdlerization /-ʹzayshən/ noun
bowdlerizer noun
[from the name of Thomas Bowdler, d.1825, English editor, who produced an expurgated edition of Shakespeare]