I have a tabbed interface in my application. I am getting the contents of the focused tab in a string variable as
QString myString = currentTab->getTextEdit()->toPlainText();

Now, I want to search this string for the occurrence of some other strings which I have defined as a regular expression and for each occurrence, I want to prepend a character to the occurrence. Please let me know how to find every occurrence of regular expression in myString.