Am having following data and I would like to extract section number and description in two separate strings.
I am using the following expression - (\d+(?>\.\d+)*)(.\D*). However, in the description I am seeing '. 'value and I want the dot to be in the section identified.
Can someone help me with this?
Here are my sample strings -
1.1.1. ABC
1.1.2. DEF
1.1.2.3. XYZ
Expecting -
No|Description
1.1.1.|ABC
1.1.2.|DEF
1.1.2.3.|XYZ