If you want to replace multiple characters you can call the String.prototype.replace() with the replacement argument being a function that gets called for each match. All you need is an object representing the character mapping that you will use in that function. For example, if you want a replaced with x, b with y, and c with z, you can do something like this:
Open the find and replace dialog (press CTRL + H). Then select Regular expression in the 'Search Mode' section at the bottom. In the Find what field enter this: [\r\n]+ In the Replace with: , There is a space after the comma. This will also replace lines like Apples Apricots Pear Avocados Bananas Where there are empty lines. If your lines have trailing blank spaces you should remove those ...