I have a text file where I have to find a particular word1 and then add a word2 soon after this word. By using FileWriter I could do only writing to a file. But how to find the word and also followed by writing into it. Please help.
Thanks & Regards