Hi there,
I have a QString like this:
"message1\nmessage2\nmessage3\nEnd"
or
"message1\nmessage2\n\nmessage3\n\nEnd"
and i want to obtain this QString:
"message1\nmessage2\nmessage3"
or
"message1\nmessage2\n\nmessage3"
can i do it with a QRegExp or is there a best way?
thx
Bookmarks