I'm trying to find and replace the value of something in a text file and am having trouble figuring out how I would do that.
For example, I would like to go into a file that has android:versionName="1.53" and replace it with android:versionName="1.54".
I know how to do this if I just want to replace 1.53 with 1.54 for example, using a program called FART (find and replace text) but I want to be able to replace whatever is in between the speech marks with 1.54, i.e. without having to specify 1.53 as this could change each time.
Another similar example would be replacing #define DLS_VERSION (1540) with #define DLS_VERSION (1600).
I was just wondering if there's a standard way or utility to do this please?
Thanks, Chris.