PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Mon Dec 11, 2017 12:50 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Mon Oct 30, 2017 10:40 am 
Offline
Forum Newbie

Joined: Mon Oct 30, 2017 10:36 am
Posts: 1
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group