Every example I have found tells me the following should replace brackets with spaces


String lineIn = "[10/Feb/2011 15:56:27 -0000]";
lineIn.replace('[', ' ');
lineIn.replace(']', ' ');...