Regular expression for time in HH:MM format

Posted on 2006-04-13
Last Modified: 2008-02-01
 I need a regular expression for military time format i.e 11:30, 14:45 like that. Could any body help me in this regular expression. I am using regular expression validator in Thanks
Question by:RaviKavuri
    LVL 37

    Expert Comment

    by:Harisha M G
    Hi, expression would be




    LVL 2

    Accepted Solution

    regular expression for HH:MM
    LVL 37

    Expert Comment

    by:Harisha M G
    Oh.. yes... but there is a small mistake.. there will not be 24:00 ... (it would be 00:00)



    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
    User art_snob ( encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now