Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have this in a txt-file

task a
task b
Lindberg's note: blah
    task b.1
    task b.2
task c
task d

I want this

task a
task b
    Lindberg's note: blah
    task b.1
    task b.2
task c
task d

So, how do I create a find & replace, but instead of "find x, replace with y" I want "find Lindberg's note, replace with {Tab key}Lindberg's note".

share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted

Copy some text, containing {Tab} character, e.g. " task b.1"

Bring "Find and replace dialog"

Insert copied string to "Replace" box and edit the text, not deleting the {Tab} representative (in my notepad.exe it's shown as a box character)

share|improve this answer
    
In my notepad.exe it can only paste the first line. –  user1603548 Sep 11 '13 at 13:34
    
can you select just a {Tab} whitespace and copy it to buffer? Can it be inserted in the dialog after that? –  Vladimir Tsuverkalov Sep 11 '13 at 13:36
    
Yes. And I feel very stupid now. –  user1603548 Sep 11 '13 at 17:47
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.