Hello I have a df such as
COL1 COL2
G1 QANH010008.1:18255-18820(-):Hab_ob
G1 QANH010002:7-10(-):Hab_ob
and I would like to create 2 new COL3 and COL4 where i put the number before the first - and after the first -
Here the ouptut should be
COL1 COL2 COL3 COL4
G1 QANH010008.1:18255-18820(+):Hab_ob 18255 18820
G1 QANH010002:7-10(-):Hab_ob 7 10