Hello I have a strings such as :
liste_to_split=['NW_011625257.1_0','scaffold1_3','scaffold3']
and I would like to split them at the Number_Number
I tried :
for i in liste_to_split:
i.split(r'(?<=[0-9])_')
and I got
['NW_011625257.1_0']
['scaffold1_3']
['scaffold3']
instead of
['NW_011625257.1'] ['0']
['scaffold1'] ['3']
['scaffold3']
does someone knows where is the issue ?