Page 1 of 1

Check if it is hour

Posted: Fri Aug 06, 2010 8:04 am
by klevis miho
How can I check if something is a hour in this format: HH:mm?
If there is a jquery solution for this it would be better.

Re: Check if it is hour

Posted: Fri Aug 06, 2010 10:48 am
by pickle
I assume "something" is a string? You could use a regular expression.