Possible Duplicate:
Replace all occurrences of substring in a string - which is more efficient in Java?
I'm trying to replace all occurrences of \t (tab) with four spaces in a file. I've been searching for a while but couldn't find anything useful.
I found out that I need to create a temporary file.