Hi, i do have a string with the syntax: ... <xyz>A</xyz> <xyz>B</xyz> <xyz>C</xyz> ... now i want get the values with: QRegExp exp; exp.setPattern(".*<xyz>(.*)</xyz>.*"); exp.exactMatch(str); for(int i=0;i<10;i++){ qDebug()<<exp.cap(i); } But it didn't work well :think: So could you give me please a tip! :D thanks very!