Do you need to insert or replace line breaks into a document? A really BIG document? I did. I needed to manually create multiple sitemaps for a site with 250,000 pages, based on a 20MB csv file. I needed to remove the junk, and replace each line break with the required tags for each url in the sitemap. After realizing that Dreamweaver 8′s search and replace function was going to take all day to complete (it’s good, but not fast), I decided to find a better way. That better way is using Notepad++.
Simply select the extended search mode in the search and replace window, and then use \n or \r in the search or replace field. It’s an incredibly simple and elegant way to do it. And the best thing is, Notepad++ breezed through my 20MB csv file in seconds, and I had my monstrous sitemaps done in about 10 minutes.