I have a WYSIWYG editor and sometimes users cut and past into it from MS Word. In my server side java I am trying to remove unnecessary html from the pasted html such as: