Put the numeric validation in user input when value is 5.1.2.3

Hi

I need to put the validation in batch script when user will enter the build number it should be numeric.I can put the validation for numeric values but there is

.(dot)

in number so it would not take it as numeric.
Is it possible we can store it in variable and remove the

.(dot)

from the variable and then easily find the valuse is numeric or non-numeric

 
Build Number in the Format 5.1.2.44
enter Build Number Please :

I suppose there are ways, like writing it to a file and using findstr, escaping the dot in a class, like "\b[1-9][0-9]*[.][1-9][0-9]*[.][1-9][0-9]*[.][1-9][0-9]*\e" Microsoft Corporation

Then there are GNU tools you can install and PERL, which makes it easier.