PHP Developers Network
http://forums.devnetwork.net/

Help with Unique Group please
http://forums.devnetwork.net/viewtopic.php?f=38&t=144588
Page 1 of 1

Author:  transients [ Mon Oct 30, 2017 10:40 am ]
Post subject:  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

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/