Example Input:
'hi6 my name is-34 have you seen96?'
Example Output:
[6, -34, 96]
I have tried:
def extractor(string):
list1 = [n for n in string if n.isnumber()]
print(list1)
I want to extract even those integers, which are concatenated with some character too.