I am stuck on making a regular expression that matches numbers from 01 to 56, with a space between them but not a space a the end. Strings samples look like these ones:
"33 44 51 52 53 54"
"01 05 09 14 25 36"
To achieve that, i am using the following expression (and testing it at http://regexpal.com/):
([0-5][0-9] +){6}
It works fine, but the problem is that it only matches those strings only if there is a space at the end:
"01 05 09 14 25 36 "
How do i fix this?
How do i limit it to match until 56 and not 59? and to start from 01 and not from 00?