Community
    • Login

    How to "Replace" in block mode

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 1.9k 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.
    • George AtkinsG
      George Atkins
      last edited by

      Hello! I’m trying to replace specific characters in a selected column of text in a plain text file. For some reason, the “In Selection” checkbox is dimmed and cannot be selected.

      So what do I need to do in order to run Replace on a selected block of text?

      George

      Scott SumnerS 1 Reply Last reply Reply Quote 1
      • Scott SumnerS
        Scott Sumner @George Atkins
        last edited by

        @George-Atkins

        The short answer is, in general, you can’t do this. Without knowing more details of your scenario, perhaps the best that can be offered up is to cut your column block to a new editor tab, perform your replace operation there (on that entire doc), rectangular-select the new contents, and copy and paste back into the original doc.

        Of course, if you provide more detail, perhaps a regular-expression search-and-replace operation could be crafted to do what you need, or possibly the description would allow other solutions to be brought to light…

        1 Reply Last reply Reply Quote 1
        • Alan KilbornA Alan Kilborn referenced this topic on
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors