I am facing a problem regarding HTML Regex. My Problem is that I am working on a HTML part and i need only those tag which contains some inner text and i need regex for that and my HTML code is
<P id=a_bib3 class=Bib_entry unselectable="on">Demo Text</P>
<P id=a_bib3 class=Bib_entry unselectable="on"> </P>
<P id=a_bib4 class=Bib_entry unselectable="on"> </P>
<P id=a_bib5 class=Bib_entry unselectable="on"> </P></code>
and now I need only first P tag which contains some inner Text.