I'm quite noob with regular expression, all i want to do is to get all numbers from a string.
QRegExp rx;
rx.setPattern("\\d+");
rx.indexIn("this string contains number 123 and 567*872");
QStringList MyList = rx.capturedTexts();
Expected result is: 123 and 567 and 872. What i get is: 123