• Login
Community
  • Login

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

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
3 Posts 2 Posters 35.0k 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.
  • S
    SalviaSage
    last edited by Apr 26, 2018, 5:15 PM

    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.

    S 1 Reply Last reply Apr 26, 2018, 5:25 PM Reply Quote 1
    • S
      Scott Sumner @SalviaSage
      last edited by Apr 26, 2018, 5:25 PM

      @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
      • S
        SalviaSage
        last edited by Apr 26, 2018, 5:37 PM

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

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