The Computer Oracle

Search and replace with TAB character in Sublime Text 2

--------------------------------------------------
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Riding Sky Waves v001

--

Chapters
00:00 Search And Replace With Tab Character In Sublime Text 2
00:14 Accepted Answer Score 104
00:27 Answer 2 Score 3
00:48 Thank you

--

Full question
https://superuser.com/questions/395334/s...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#findandreplace #sublimetext2

#avk47



ACCEPTED ANSWER

Score 104


You can use regular expressions by clicking on this button:

sublime

The regex for a Tab character is \t.




ANSWER 2

Score 3


The accepted answer only give half of the answer to the question

If you want to replace ',' and insert tab: enter image description here

But to replace the tab text with real tab you first have to replace tab text with a different character, and then do the tab insert:

Step1/2) enter image description here

Step2/2) enter image description here