Search found 1 match

by transients
Mon Oct 30, 2017 10:40 am
Forum: Regex
Topic: Help with Unique Group please
Replies: 0
Views: 50742

Help with Unique Group please

Hi all, I have this regex : ^([dm]{1,2}|[y]{4}|[y]{2})[\/.\-\s]([dm]{1,2}|[y]{4}|[y]{2})[\/.\-\s]([dm]{1,2}|[y]{4}|[y]{2})$
And I have to find how do no accept a repeating group:
- yy/dd/mm ->OK
- yy/dd/yy ->NOT OK

If someone know, it will help me a lot! Thanks