There are probably other ways, but this works:Find and Replace '(.+)', '\\1\\n', 'Esa'CopyUndoNewPasteFor the second variant, do:Find and Replace '(.+)', '\\1, ', 'Esa'CopyUndoNewPasteFind and Replace ', $', '', 'Ea'