I am wondering if there is a 'smart' way (one regex expression) to extract IDs from the following paragraph:
...
imgList = '9/optimized/1260089_fpx.tif,0/optimized/1260090_fpx.tif';
...
The result shoul be a list containing 1260089 and 1260090. The count of the IDs might be up to 10.
I need something like:
re.findall('imgList = (some expression)', string)
Any ideas?