Notepad++: How to add carriage return (pressing enter key) after certain character

Solution 1:

You can simply replace } with }\n. That will preserve the curly brackets and add a line break after each one.