QTextEdit edit;QString htmlText = ...;QString plainText;edit.setHtml(htmlText);plainText = edit.toPlainText();
QTextDocument doc;QString plainText;doc.setHtml(htmlText);plainText = doc.toPlainText();
C++ (Qt)<.+?>