title: Java Regex tab space
body: <p>I am new to Regex, so this is pretty much a basic question.
  I tried to identify tab space and replace it by any letter, say R. But, the code does not seem to work. I am able to get the correct output for space characters though.</p>
  
  <pre><code>public static void main(String[] args) {
          String str = "abs abd   abs   abd";
          System.out.println(str.replaceAll("\\t","R"));    
  } 
  </code></pre>
  
  <p>The output comes out to be:
  abs abd   abs   abd</p>
  
  <p>Thanks in advance!!</p>