regexp to parse integers in a string

hi,
does anyone quickly tell me what is the regular expression syntax to parse the 3 numbers in a string like below

input: abcd(100,212,983)
output: 3 string/ints: 100 212 983

I am using QRexExp but it seems Regular expression sytax is common across all libraries...
I don't know how that library works, but common regex for (decimal) integers are: [0-9]+ or [[:digit:]]+
Last edited on
You want the capturedTexts() member function.
http://doc.qt.nokia.com/4.7/qregexp.html#capturedTexts
Hope this helps.
Topic archived. No new replies allowed.