Menu

find and delete tabs or empty lines

tmaes
2005-09-08
2012-11-13
  • tmaes

    tmaes - 2005-09-08

    is it possible to find and delete tabs or empty lines ?
    thx in advance

     
    • Nobody/Anonymous

      Tabs, yes...Search for \t using regular expressions, replace with nothing.  Empty lines...no.

       
      • Nobody/Anonymous

        Actually you can use the TextFX -> Edit -> Delete blank lines plugin, but it wants to work on selected text.

        I used regular expressions to remove the lines from the text
        ^    <name.*</name>
        Notepad++ replaced the expressions with blank lines.
        Then I highlighted the whole document and used the plugin and it removed the blank lines.

         
    • pshute

      pshute - 2007-05-04

      For empty lines, see http://notepad-plus.sourceforge.net/uk/newlineFindReplace-HOWTO.php for all your options.

      Tabs can also be specified in the advanced find/replace (control+R) using control+I.

       
MongoDB Logo MongoDB