I am trying to remove the occurance of a substring (PTY) from my string but the program only matches the "PTY" and leaves out the parenthesis. please see my QRegExp instance below.Qt Code:
QRegExp regXp("\\b(PTY|pty|Pty|pTy|ptY|PTy|pTY|(PTY)|\\(Pty\\)|LTD|ltd|\\(LTD\\)|\\(ltd\\)|Ltd)\\b");To copy to clipboard, switch view to plain text mode
Bookmarks