regex - What regular expression can be used for detecting different sports times -
I need a regular expression that detects the timer string which can be less than or equal to one minute. Then the expression should match both:
35.54 and 1: 03.24
([0-9] +: |) [0-5] [0-9] \. [0- 9] [0-9]
should do it.
Comments
Post a Comment