bowdlerise

verb
  1. to remove or modify parts of a text that are considered offensive or inappropriate, especially sexual or violent content
  2. Usage: British spelling; American spelling is ‘bowdlerize’; often used critically to suggest excessive censorship

Examples