Menu

Replace multiple lines

2007-01-12
2012-11-13
  • Nobody/Anonymous

    How would one replace multiple lines with different (more or less) multiple lines? As far as I can see, I can only replace one line of data with another.

     
    • Nobody/Anonymous

      user Ctrl+R  ... then use Ctrl+Enter to add line breaks

       
      • Nobody/Anonymous

        This does not work in version 4.0.2.  I cannot find any way to replace

        <td>
        </td>

        with

        <td></td>

        Also, the CTRL+R box is not apparently available from the pull-down menus.

        Tom Haws

         
        • pshute

          pshute - 2007-04-19

          The advanced search and replace (control+R) is available via Plugins/TextFX Quick/Find&Replace.

          It does work, but only if you turn off the Regular Expr option.

          See http://notepad-plus.sourceforge.net/uk/newlineFindReplace-HOWTO.php for other methods of searching and replacing newlines .

           
          • Nobody/Anonymous

            Why not use the homesite method:

            select multpiple lines

            replace with "what you want"

             
MongoDB Logo MongoDB