Hi,
I'm having difficulty to replace strings in a twxt file, so I was wondering if anyone could help.
In file text.txt I need to replace string that starts with "myString……..." with string "yourStringABC". So the example of text.txt is:
Text.txt
---------------------
My name is Diana
My age is 19
My occupation is student
I have myStringxxxxxxxx
Please help to replace this string
----------------------------
After replacement the file should look like:
Text.txt
---------------------
My name is Diana
My age is 19
My occupation is student
I have yourStringABC
Please help to replace this string
----------------------------
In this original file xxxxxxx can be anything but I know that it does not contain any spaces.
Anyone done this before?
Thanks,
Bookmarks