only if you can find a way to screen each word, which as far as I know, is impossible.
If you could only type one word at a time then run them through a filter,
but only exact matches would work, so 'ass' would be filtered,
but not 'jackass' unless you add it to the list of words it checks for,
and the list of english profane euphimisms and explitives is a long one.
Plus, if you don't have it one word at a time, then the whole block is a string, much like this entire message.
And I do not belive you can subdivide strings.
Valiant effort, Mr. Chevs, but to my knowledge, impossible.