i've a large number of text lists that have some empty spaces after it.
To use the text for my purpose, there should not be any empty space after each line. please see the attachment to understand it.
What i need is a small application that deletes the empty spaces after each line. If line has no empty space, it will skip to the next one.