I need to write pattern that match 11 digits with start of 012 and two digits after 012 should not be 0,1 and sholud be repeated. for example: 01244521478 is true or 01266235698 is true and 01200256354 is false. i tried this pattern: "012(.)\1{1}([\d]{6}$)" but i dont know where to say 0,1 not allowed after 012 . help me please
Aucun commentaire:
Enregistrer un commentaire