Extracts the numeric amount from a time string
getAmount("5minutes") // returns 5 Copy
getAmount("5minutes") // returns 5
Extracts the numeric amount from a time string