Menu

find and replace multiple lines

2008-01-09
2012-11-13
  • Nobody/Anonymous

    In homesite there was a beautiful feature:

    find and replace multiple lines

    Is there a possibility this feature will be added in Notepad++ in a next release?

     
    • fidvo

      fidvo - 2008-01-09

      Read this:

      http://notepad-plus.sourceforge.net/uk/newlineFindReplace-HOWTO.php

      For future reference, you should always search the forums before asking a question because this one gets asked about once a week, and the answer is linked right from the front page.

      (Hopefully this friendly little reminder will pre-empt some of the other less tactful posters on this forum)

       
      • bushost_teamleader

        Ctrl-R is not working on my computer (Windows 7 pre-release).  Please e-mail me at owner@nccomputing.ca on how to resolve this problem.  Version 5.3.1 works for Ctrl-R but 5.4.4 does not bring anything up when you click Ctrl-R

         
    • cchris

      cchris - 2009-07-07

      Do you have TextFX installed? If not, this is expected
      If you have TextFX, check the TextFX Quick submenu, it has a Find/Replace command. You can always use this entry, but see what is the shortcut key being shown. If it is not Ctrl+R, then perhaps use Shortcut mapper to adjust it to your convenience.

      CChris

       
    • Nobody/Anonymous

      Less tactful poster? Thank you.

      Thank you for your answer but really even after reading this document (I had already seen this doc.) I haven't seen something about a multiple line replace (not about the newline character)

      homesite has two lines in his multiple line replacement (one below the other).

       
      • Nobody/Anonymous

        Use the CTRL+R Find/Replace Dialog. You can manually enter newline characters in both the Find and Replace Field by pressing CTRL+M or CTRL+Enter.

        If you select multiple lines and then press CTRL+R to open the dialog, you probably will see the selected lines in the Find Field.

         
    • Nobody/Anonymous

      thank you.
      I'll give it a try.

       
MongoDB Logo MongoDB