title: Starting Tags of Html Text
body: <p>I have extracted some text from an html document. Now i need to extract the html tags of this text too. How can i do this</p>
  
  <p>Example:
  Input text : </p>
  
  <pre><code>&lt;td&gt;&lt;div style="TEXT-INDENT: 0pt; DISPLAY: block; MARGIN-LEFT: 0pt; MARGIN-RIGHT: 0pt" align="left"&gt;&lt;font style="DISPLAY: inline; FONT-FAMILY: arial, sans-serif; COLOR: #2995d2; FONT-SIZE: 36pt; FONT-WEIGHT: bold"&gt;New Jobs&lt;/font&gt;&lt;/div&gt;&lt;/td&gt; &lt;td valign={0}top{0} width={0}40%{0} style={0}TEXT-ALIGN: right{0}&gt;&lt;/td&gt;
  </code></pre>
  
  <p>Extracted Text: </p>
  
  <pre><code>New Jobs&lt;/font&gt;&lt;/div&gt;&lt;/td&gt; &lt;td valign={0}top{0} width={0}40%{0} style={0}TEXT-ALIGN: right{0}&gt;&lt;/td&gt;
  </code></pre>
  
  <p>Now i need the starting tags of this text too. How to get them ?</p>