reg = re.compile('(?P<numbers>\\d*)(?P<rest>.*)')
result = reg.search(str)
if result:
    numbers = result.group('numbers')
rest = result.group('rest')
Splitting a string where it switches between numeric and alphabetic characters