extraction is not a problem , Problem occur when theere is 'b' tag in sampletext1 and sample text2 ,the position of 'b' tag is not fixed ,Now bold text can come in any place , it can be in first ,last .middle,or any position between 'br' tag, or 'b' not come in this sample text1
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
example 1
<br />
sample text1 <b> some bold text</b> sample text1
<br/>
example 2:
<br/>
<b> some bold text</b> sample text1 sample text1
<br/>
example 3:
<br/>
sample<b> some bold text</b> text1 sample text1
<br/>
example 4:
<br/>
sample text1 sample text1<b> some bold text</b>
<br/>
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
i want to extract complete line as description1 between br tag irrespective of b tag
Thanks all
kishore