title: Java - Capture html tags
body: <p>I have a Richtexteditor in my web application, I am allowing only Bold, Italics and Underline options for the user.</p>
  
  <p>From a word document, the user can copy another text or paragraph which has Bullets, Alignments, Indentation etc. </p>
  
  <p>Is there any way I can restrict the copying of texts or paragraphs which has 
  Bullets, Alignments, Indentation? At the time of submitting the page, can I check the HTML tags which the above using Java?</p>