Wednesday, March 11, 2015

How to convert a Unix TXT file to Windows in Notepad++ (removing extra line spaces).

Hit <Ctrl> <H>
Select "Extended" under search mode.
In Find What, put "\r\n\r\n"
In Replace With, put "\r\n"
Select "Replace All"

2 comments:

  1. Notepad2 makes it even easier: http://www.hanselman.com/blog/DarnedUsableYetAnotherReasonThatNotepad2IsTheEditorOfChoiceAndTheMagicOfCRLFVsLF.aspx

    ReplyDelete