[Validation] regex adjustment

Adjusted the number or ".#" from 3 to 2 to follow semver.org - MAJOR, MINOR, PATCH