Hi everyon,
I am trying to search for a pattern in a file and add "//" to the begining of the file.
lets say i want to comment out a line from my codes. the line that should be commented out contains the word "reset". i need to search for the word "reset" and comment out that specific line. is there anyone who could help me with this?
I have a similar question, what is i want to comment out that line and also couple of lines above and under that specific line. the reason that i don't use the same method to comment out the other lines is that they contain a similar pattern as some other lines in my code; therefore i need a method to comment out couple of line above and below the specific line