I'm trying to write an RE
to find all mm/dd
format
re = "((1[0-2])|(0?[0-9]))/(((1[0-9])|(2[0-9])|(3[0-1])|(0?[0-9])))"
It finds all mm/dd
format but also gives things like,
11/22 in 12311/22213
and
10/22 in 1110/22213
How do I exclude the cases above?
Thanks