Fetch data which is in between html tags
<p>I have a word document. When I upload that document, I need to fetch the name from that. I always have the name in the first row, the data in the word document is like,</p>

<pre><code>Shanish K
shanish@gmail.com
.....
......
</code></pre>

<p>For this, I just converted the word file to html, and from that am trying to read the name. Once I converted the word file am getting the <code>style defenitions</code> also along with the actual content. I dunno how to get only the data which is there in the <code>first row</code>. Can anyone help me out here. Thanks in advance...</p>

<p>note:- I noticed something when I was debugging, that the actual contents are in between paragraph tags like <code>&lt;p .....&gt;Shanish&lt;/p&gt; .....,</code> is is possible to fetch the data in between the first <code>&lt;p&gt;&lt;/p&gt;</code> ?</p>
