I have a .txt file that contains a lot of text. I will read the whole text file and output a new textfile with one change that is this:
The txt file that I will read could for example look like this:
Value1 Value2 Value3[]
Value4 Value5[]
What I am trying to do is to change all "[" to "x["
So the lines will look like this instead:
Value1 Value2 Value3x[]
Value4 Value5x[]
What could be the approach I will think about here ?