Moderated find and replace tabs in notepad++


K0LNY
 

Hi All,
I think in an older notpad++ or an older Jaws, I used to be able to select
hidden characters to find and replace.
I'm trying to replace tabs (delimiters) with a slash mark(/).
I know end of line is something like \r\n, so is there something similar to
a tab?
Thanks.

Glenn


 

If you're using notepad++, the find dialog has a radio button group for Search mode that defaults to normal, but the second choice is extended, and you have to use extended if you intend to search on whitespace delimiters.

The Replace tab of the Find dialog does, of course, include the edit boxes for both find and replace, so you can do everything in the replace tab.

Notepad ++ uses notation for whitespace typical of Linux/Unix/C, and a tab is denoted \t
I am presuming you just want to replace all instances of tabs with a slash, so you can go to the replace tab and enter \t for the find value and / for the replace value, then hit the Replace All button.
--

Brian Virginia, USA Windows 11 Pro, 64-Bit, Version 22H2, Build 22621; Office 2016, Version 16.0.15726.20188, 32-bit; Android 12 (MIUI 13)  

It’s not lack of contact with the world off campus that leads to the liberal views common in academia — it’s being trained to think critically and practicing this craft daily as we look at the world around us that makes us the libs conservatives so dislike.

     ~ Eliot A. Brenowitz, Seattle; New York Times, Letters, Tales of Town and Gown: Is the Campus Isolated?, August 20, 2022


K0LNY
 


Thanks.

----- Original Message -----
Sent: Tuesday, January 10, 2023 7:41 PM
Subject: Re: find and replace tabs in notepad++

If you're using notepad++, the find dialog has a radio button group for Search mode that defaults to normal, but the second choice is extended, and you have to use extended if you intend to search on whitespace delimiters.

The Replace tab of the Find dialog does, of course, include the edit boxes for both find and replace, so you can do everything in the replace tab.

Notepad ++ uses notation for whitespace typical of Linux/Unix/C, and a tab is denoted \t
I am presuming you just want to replace all instances of tabs with a slash, so you can go to the replace tab and enter \t for the find value and / for the replace value, then hit the Replace All button.
--

Brian Virginia, USA Windows 11 Pro, 64-Bit, Version 22H2, Build 22621; Office 2016, Version 16.0.15726.20188, 32-bit; Android 12 (MIUI 13)  

It’s not lack of contact with the world off campus that leads to the liberal views common in academia — it’s being trained to think critically and practicing this craft daily as we look at the world around us that makes us the libs conservatives so dislike.

     ~ Eliot A. Brenowitz, Seattle; New York Times, Letters, Tales of Town and Gown: Is the Campus Isolated?, August 20, 2022