Community
    • Login

    How do you type the tab character into the replace box?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 46.8k Views 1 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.
    • SalviaSageS Offline
      SalviaSage
      last edited by

      Hi.

      I can’t type the tab character by pressing tab in the replace box, so I have to copy paste a tab from somewhere each time. Is there like an alt code or something that can be used here? I tried alt+0+0+9 that didn’t work.

      Scott SumnerS 1 Reply Last reply Reply Quote 1
      • Scott SumnerS Offline
        Scott Sumner @SalviaSage
        last edited by

        @SalviaSage

        I don’t believe you can easily do it. What I do is to use Regular expression search mode (Extended will work as well) and put \t in the Find what zone where the tab character should occur.

        In general it will work fine, but using these modes gives special meaning to other characters, so be aware of that. These are the characters treated specially by Regular expression mode: ][.^$*+?(){}\|-. If you need to use them (literally) in your search expression, prefix them with a \. So for example if you want to search for “tab” followed by “asterisk”, use this: \t\*

        1 Reply Last reply Reply Quote 2
        • SalviaSageS Offline
          SalviaSage
          last edited by

          oh okay. I just need to have the extended selected and just type \t. that works. thx.

          1 Reply Last reply Reply Quote 1

          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