Home   |   TWP Auctions   |   Contact
The Website Professionals
Real world webmaster resources.
TWP Auctions - the free eBay script RSS feed Twitter

Search and replace line breaks using Notepad++

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.

Leave a comment

This is a dofollow website. If you leave a comment, then we'll give you a backlink.
Please be aware that this website is strictly moderated. If you post spam, you'll get a slap.










Featured webmaster products for February 2012:
Use a different photo for every card

Copyright © 2012 The Website Professionals - All rights reserved
Links | Privacy policy