split a string in python and return first code example Example: split string with first numerical value in python re.split(r'(^[^\d]+)', string)[1:]