human
How to get integer values from a string in Python?
assistant
Here is some code to get multiple integer values from a string 'string1'

map(int, re.findall('\\d+', string1))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.