Update regex to match Version string correctly