bowdlerize

verb
  1. to remove or modify parts of a text that are considered offensive or inappropriate
  2. Usage: often used when discussing censorship of literature

Examples