Just in case the original strings could contain a space or spaces between the 'v' or 'V' and the digit sequence, e.g.:
v 5 or V 2.10.7
use the following for the regular expression: (v|V)\s*([0-9]+[\.0-9]*)
and the same replacement as I gave before.
Brian - Windows 10 Home, 64-Bit, Version 1803, Build 17134
The real art of conversation is not only to say the right thing in the right place but to leave unsaid the wrong thing at the tempting moment.
~ Dorothy Nevill