human
Python: removing characters except digits from string
assistant
Here is some code to get digits only from a string `aas30dsa20` using lambda function

"""""".join([x for x in 'aas30dsa20' if x.isdigit()])

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