Community
    • Login

    Multi-Line Search & Replace Across Multiple Folders

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 58 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Gordon GoodfellowG
      Gordon Goodfellow
      last edited by

      Hi,

      I’m using the multi-line search and replace function in Notepad++ by pressing ALT+SHIFT+F, which brings up the multi-line search and replace box.

      This allows me to replace one or more lines with several lines of code for every file in the open folder.

      BUT, the problem is that there are about 80 folders! So I have to open every folder within Notepad++ and do this each time for each folder.

      So is there a way of doing this over multiple folders, so that I only have to do the operation once, instead of 80 times?

      Thanks from a very time-pressed web owner!

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • Alan KilbornA
        Alan Kilborn @Gordon Goodfellow
        last edited by

        @Gordon-Goodfellow said:

        ALT+SHIFT+F,

        The default for Find in Files is Ctrl+Shift+f, not Alt+Shift+f.

        So is there a way of doing this over multiple folders

        Well, if the files are all in one parent “tree”, just specify to top-level in the Directory box and checkmark the Include subfolders checkbox.

        1 Reply Last reply Reply Quote 4
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors