I have txt files, Which has indexes and description, So i want to create index as variable and description as a variable value, i have same indexes on all txt files but different descriptions.
This is Sample txt file,
------------------------------------------------------------------
Profile Information
This is demo line to show the idea of my data
This is demo line to show the idea of my data,demo demo demo
This is demo line to show the idea of my dataThis is demo line to show the idea of my dataThis is demo line to show the idea of my dataThis is demo line to show the idea of my dataThis is demo line to show the idea of my dataThis is demo line to show the idea of my dataThis is demo line to show the idea of my dataThis is demo line to show the idea of my dataThis is demo line to show the idea of my dataThis is demo line to show the idea of my dataThis is demo line to show the idea of my dataThis is demo line to show the idea of my dataThis is demo line to show the idea of my data,demo demo
Work Information
This is demo line to show the idea of my data
This is demo line to show the idea of my data,demo demo demo
This is demo line to show the idea of my dataThis is demo line
how the idea of my dataThis is demo line to show the idea of my data
This is demo line to show the idea of my dataThis is demo line to show the idea of my data
This is demo line to show the idea of my dataThis is demo line to show the idea of my dataThis is demo line to show the idea of my dataThis is demo line
---------------------------------------------------------------------------------------------------------
My Output should be like this>>>>
Profile Information | Work Information
(Description of profile information) | (Description of work information)