I have a list which I have obtained from a python script. the content of the list goes something like
d.complex.1 24 25 67 123 764 d.complex.2 23 54 35 64 d.complex.3 . . .
I want to split this list such that, a new list is created from d.complex.1 to d.complex.2 (excluding d.complex.2) i.e.:
d.complex.1 24 25 67 123 764
The above in one list.
Can anyone help me out?