Is there an easy way to strip HTML from a QString in Qt?

Posted by George Edison on Stack Overflow See other posts from Stack Overflow or by George Edison
Published on 2010-05-09T22:12:24Z Indexed on 2010/05/09 22:18 UTC
Read the original article Hit count: 199

Filed under:
|
|

I have a QString with some HTML in it... is there an easy way to strip the HTML from it? I basically want just the actual text content.

<i>Test:</i><img src="blah.png" /><br> A test case

Would become:

Test: A test case

© Stack Overflow or respective owner

Related posts about qt

Related posts about html