Extract the first number occurring in the given text.
If the text does not contain a number, fallback is returned (or an empty text if fallback is not specified).
Example:
extractNumberFromText("Temperatures today: 23 to 25 degrees") → ‘23’
Extract the first number occurring in the given text.
If the text does not contain a number, fallback is returned (or an empty text if fallback is not specified).
extractNumberFromText("Temperatures today: 23 to 25 degrees") → ‘23’