Community
    • Login

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

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 34.3k 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.
    • SalviaSageS
      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
        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
          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
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors