bowdlerize (British also bowdlerise)

remove improper material from (a text)