Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In Sublime Text 2, I want search and replace by the TAB character.

I tried replacing with \t char but it's not working.

How can I do it?

share|improve this question
up vote 55 down vote accepted

You can use regular expressions by clicking on this button:


The regex for a Tab character is \t.

share|improve this answer
Thanks works fine. But you don't need use / before and after \t is enough – shingara Feb 29 '12 at 15:37

Your Answer


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.