I have a string like this:
AAAA 1 BBBB 2
I want to get all the number and return the result: 12
I tried \d
but it just get the first number.
In conclusion, I want to get all the number from a string in order then combine it to make a new number.