[Php-it] regex e cellulari

Matteo Beccati php at beccati.com
Mon Mar 6 17:54:51 CET 2006


Ciao,

> $reg_cellphone='^(([+]39)?((38[8,9,0])|(39[0-3])|(34[0,3,7-9])|(36[0,3,6,8])|(33[0,3-9])|(32[0,3,8,9]))([0-9]{6,7}))?$'; 

che bello, così ogni volta che un gestore crea un nuovo prefisso ti 
tocca ritoccarla ;)


Ciao ciao
--
Matteo Beccati
http://phpadsnew.com
http://phppgads.com


More information about the Php-it mailing list