NeoX Posted August 17, 2005 Report Share Posted August 17, 2005 Luudzu paakiet kaadu vajag regex patternu, lai paarbaudiitu vai ievadiitais datums atbilst formaatam: d.hh.mm.ss dienu sadalja var buut 1,2 vai 3 simbolu gara, paareejaas 2. Der tikai skaitlji. Paldies jau ieprieksh! Link to comment Share on other sites More sharing options...
bubu Posted August 17, 2005 Report Share Posted August 17, 2005 $ir_korekts = preg_match('@^\d{1,3}(\.\d{2}){3}$@', $text); Link to comment Share on other sites More sharing options...
NeoX Posted August 17, 2005 Author Report Share Posted August 17, 2005 Paaldies, bubu! Link to comment Share on other sites More sharing options...
Recommended Posts