extract text from HTML segment using standard java
<p>I'm receiving a segment of HTML document as Java String and i would like to extract it's inner text.
for ex: <b> hello <i> world </i> </b> ----> hello world</p>

<p>is there a way to extract the text using java standard library ?
something maybe more efficient than open/close tag regex with empty string?
thanks,</p>
