+1 to alikins comment please add a unit for this regex. It should list different version strings that will work and those that don't work.