you could write a small script within your index.php to replace words with others. Setup an array of words you DONT want..then use the replace() scripting function to replace it with what you want. ex(****,bleep,&#%$*%)
If you want a ‘smart’ replace then I’d suggest writing a plugin to replace ass with a** and such. Im sure theres a plugin for this, just check out the codex.