Search and replace in a batch file
I am writing a batch file in DOS, one of its functions is to search through a file for a string of the format:
SOME TEXT WHICH MUST NOT CHANGE Version1.2 MORE CONSTANT TEXT
and replace it with:
SOME TEXT WHICH MUST NOT CHANGE Version1.3 MORE CONSTANT TEXT
or
SOME TEXT WHICH MUST NOT CHANGE Version 2 MORE CONSTANT TEXT
Depending on the values read from a different file.
I have found the function FIND which will find the entire line but I am not sure how to extract the Version and number and replace it.
FINDSTR also seems to almost do what I need but I having trouble making the final step and I cannot find any example which already have this done.
Can anyone help?

