Want a code for my task

Job ID: 33971903

Budget: ₹600 – ₹1,500 INR

That is the text format of given file
For every line there will be a number at the end
That represents the line to be printed in New file
Every word at the starting of line should be printed according to the number at the end of the same line
In a new file


It should be done in c# visual studio