[Php-it] [PHP-JS] Filtro che funziona a metà
Emiliano Gabrielli (aka AlberT)
AlberT at superalbert.it
Fri Dec 29 15:55:35 CET 2006
On Friday 29 December 2006 15:51, Davide Michel 'ZioBudda' Morelli wrote:
> preg_match('/^\+?[0-9\s]{'.$min.','.$max.'}+$/',trim($valore));
> break;
>
> e correttamente mi segnala giusto 00399890025 e sbagliato 0039-9890025
concordo nel non capire la funzione dell'ultimo "+"
--
<?php echo ' Emiliano Gabrielli (aka AlberT) ',"\n",
' socio fondatore del GrUSP ',"\n",
' AlberT_at_SuperAlberT_it - www.SuperAlberT.it ',"\n",
' IRC: #php,#AES azzurra.com ',"\n",'ICQ: 158591185'; ?>
More information about the Php-it
mailing list