By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,542 Members | 1,434 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,542 IT Pros & Developers. It's quick & easy.

regx for time

P: 36
Hi i am trying to write regx for the time format HH:MM:SS in the below way


but i could not get the desired output,
can some one throw some light why and where it is going wrong?

Thanking you in advance
Dec 11 '09 #1
Share this Question
Share on Google+
1 Reply

P: 33

are you trying achieve below regex?

Expand|Select|Wrap|Line Numbers
  1. /^[0-2][0-3]:[0-5][0-9]:[0-5][0-9]$/
Best Regards,
Dec 11 '09 #2

Post your reply

Sign in to post your reply or Sign up for a free account.