I have difficulties in developing a java code to remove an entire row in a file when you find the word "file error".
When code finds the phrase "file error" in the file (.txt), it should remove the whole line containing the phrase.
Could anyone help me?