I want to extract the digits 4699183 from the string query=regionID%3D4699183&c=1 but it's not working:
>>> import re
>>> string = 'query=regionID%3D4699183&c=1'
>>> string = re.sub("^(regionID%3D\d+)", "", string)
>>> string
'query=regionID%3D4699183&c=1'
How should I do it?