title: Replace tab with blank space
body: <pre><code>final String remove = "   " // tab is 3 spaces
  
  while (lineOfText != null)
     {
         if (lineOfText.contains(remove))
         {
             lineOfText = " ";
          }
         outputFile.println(lineOfText);
         lineOfText = inputFile.readLine();
     }
  </code></pre>
  
  <p>I tried running this but it doesn't replace the tabs with one blank space. Any solutions? </p>