[Qt-interest] Removing fixed string by QRegExp
M. Bashir Al-Noimi
mbnoimi at gmx.com
Sat Apr 17 20:14:48 CEST 2010
Hi folks,
Once again I faced a problem with QRegExp... sorry for disturbance :-[
I want to remove fixed string from QString for example:
"This is my mysterious issue"
after removing 'my' it will be:
"This is mysterious issue"
so I tried the followings:
str.remove(QRegExp("my",Qt::CaseInsensitive,QRegExp::FixedString));
str.remove(QRegExp("^my$",Qt::CaseInsensitive));
str.remove(QRegExp("my",Qt::CaseInsensitive,QRegExp::Wildcard));
but no-one didn't fix the issue! Could you please help me?
--
Best Regards
Muhammad Bashir Al-Noimi
My Blog: http://mbnoimi.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100417/75138736/attachment.html
More information about the Qt-interest-old
mailing list