Kate text editor, replace end of line

You can replace “end of line” with something like a comma (for lists of emails):

Ctrl + r (Find/Replace)
Find “$”
Replace ” , “
Dropdown box – “Regular Expression”
Replace All.

Then to join selected text into one line (remove breaks)
Hilight, and press Ctrl + j