import re

nums = re.findall(r"\d+", "A2B4C13")
print(nums)  # ['2', '4', '13']