extract the numbers from string

extract the numbers from string