Get plain text from QString with HTML tags

ekshibarov picture ekshibarov · May 14, 2011 · Viewed 11k times · Source

I have QString with html tags. Why can i get plain text from this string?

Answer

k06a picture k06a · May 14, 2011

str.remove(QRegExp("<[^>]*>"));