I am not able to parse the following data in txt file in java.
SoftSwitchN956 Name IP Address Result
BRAZIL(Current) 199.111.0.115 Success
line.trim(),line.replaceAll("\\s", ","), none of the methods is working.
Please suggest a way to parse the data.