All tests are in this regExp : /^(([01]?[0-9]|2[0-3])(\.[0-9])?|24\.0|24)?$/ is there another way to test 24.0 and 24 ? Greetings :-) Yanno