RegexHub icon indicating copy to clipboard operation
RegexHub copied to clipboard

The RegEx for 'Time in 24-hour format' does not give minutes value in the output

Open dineshb-qa opened this issue 8 years ago • 0 comments

Steps to Reproduce :

  • Go to RegEx Site
  • Go to 'Time in 24-hour format' section and enter the test string as : 22:33
  • Observe that the output returned is : 22
  • The RegEx can be : /^([01]?[0-9]|2[0-3]):([0-5][0-9])$/ in order to give the minutes value in the output

Expected Result The RegEx for 'Time in 24-hour format' should give minutes value in the output

Actual Result The RegEx for 'Time in 24-hour format' does not give minutes value in the output output_without_min_value

dineshb-qa avatar Mar 10 '17 14:03 dineshb-qa