If you want to search for or replace with newline characters, enable regular expression search and insert \n somewhere in the search or replacement string.