Firstly, I am a beginner in Java, and I have never been into any programming before, so it seems like I need a little help to solve a task. The task is "I've a text file with the size of more than 5 MB, & I need to clear the contents between the strings CATCH_IN and CATCH_OUT, so whenever CATCH_IN and CATCH_OUT are coming, need to clear the contents between them, after clearing this, white space should be there in the text file I guess, and it should also need to be cleared.
Finally , I’m expecting the output would look like below.
if follows ............
Like this, I need the output for the entire text file, so please e-mail/post me the entire java code for this task, any help would be much appreciated.
FYI, I'll e-mail the text file if anyone is coming forward to help me out of this. Any help that would be much appreciated.
I have to get it done in one day, so I'll look forward to your reply ASAP.
Please let me know if you need any more information, I will try to do the best to get you that.
Thanks for your time & kind help!!