Extract numbers from a string and return a list of int