I have a word 2007 file having text in an Indian language (Hindi) containing line numbers on each line. About 12 pages. Some lines are bolded, some are italicized and others are colored.
What I want is to sort text in Hindi first but retain the line numbers. This is not possible I guess since the numbers will remain at their place. Sorting of text is fine, though.
The next best thing I can do is copy the text along with line numbers into wordpad and back to word, then sort the text. But this way, the sorting is done based on numbers and not text.
Another thing I can do is to remove the line numbers from the start of each line and add the line numbers to end of each line, say in brackets. But doing this manually is extremely tedious. And if I completely remove the numbering, is there a way I can add numbering to the end of each line?
I am aware that this can be done easily in Linux/UNIX using the sed tool but even if I had Linux installed, and used sed to do this, I'd had to loose the formatting of my text.
Is there anyway that I can do what I want in Word itself, without having to do it manually for each line?