Community
    • Login

    How to "Replace" in block mode

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 2.5k Views 2 Watching
    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 Offline
      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 Offline
        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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors