JAVAians
i have a small requirement which i am doin in java swing. i need to validate a field which will accept only numbers and dots.
for example:
i have a version number field which has to accept only in format like ***.***.***.***
but the numbers between the dots can vary accordingly. and the length can also vary
note:
[1.0.0.1] or [111.0.0.0] or [111.11.0.0] or [111.111.12.1] and so on...
or
[1.0] or [12.0] or [1.2.0]
PraDz