


Menu → Macro → Run a Macro Multiple Times → Tick Run until the end of fileīasically perform the action once to remove an odd line, then get the program to repeat the action to the end of the file.Open the file and put your text cursor at the start of the first line. As others have noted, in Notepad++ 6.0 and later, it is possible to use the 'Replace' feature to delete all lines that begin with ' ' or ''.(You could also check "wrap around", but in that case it will first delete the line your cursor is in, instead of really looking for an odd line.)Įxplanation.

Example of how to setup a data process shape to remove all but the first. Make sure to place your cursor to the beginning of file. The regex allows for either Windows or Linuxs end of line characters to be.
