regex ints capturing.

Hello.
Assuming i have the ...

524. or 50 or another 6 and 10΄ or 3/4 or just 3 4/5 or 7 8/3% or 90% and final 8 hours.


With

1
2
3
4
std::wregex _int( L"\\b[^/]([0-9]+)\\s" ); 
or 
std::wregex _int( L"\\s[^/]([0-9]+)\\s" ); 
i can catch the 50, 6, 3, 7, and 8.
But i want only 50,6 10 and 8, and nothing else.
How i must do it?
Last edited on
Topic archived. No new replies allowed.