Change integer try parse to reg ex match, so only allows a single digit (also try parse is dirty)