I need a regular expression that will find all the numbers on a sentence. For example: \"I have 3 bananas and 37 balloons\" I will get:
3
37
\"The time i
The regex you are looking for is [0-9]+ or \d+. You should then get multiple matches for the sentence.
[0-9]+
\d+