Improved the regular expression to match the version number we want to get