Extracts all the numbers occurring in the input text and returns a corresponding list. If the text does not contain a number, an empty list is returned.
Example:
extractAllNumbersFromText("Temperatures today: -23 to 25 degrees")
→ [’-23’, ‘25’]
Extracts all the numbers occurring in the input text and returns a corresponding list. If the text does not contain a number, an empty list is returned.
extractAllNumbersFromText("Temperatures today: -23 to 25 degrees")
→ [’-23’, ‘25’]