Say I have a string like
"There are LJFK$(#@$34)(,0,ksdjf apples in the (4,5)"
I want to be able to dynamically extract the numbers into a list: [34, 0, 4, 5].
Is there an easy way to do this in Python?
In other words,
Is there some way to extract contiguous numeric clusters separated by any delimiter?
"12.34", would you want[12, 34]or[12.34]? IOW, is it only contiguous-digit integers you want?