Originariamente inviato da AnĒkin
Ciao,
prova cosė:

Codice PHP:
<pre><?php

$test 
= array();
    
$test[] = 'cia9o';
    
$test[] = 'ciao9';
    
$test[] = 'ciao99';
    
$test[] = 'ciao99999';
    
$test[] = 'Ciao';
    
$test[] = 'C iao';
    
print_r($test);
    
    
$test=preg_replace('/\\W+|[A-Z]+|\\d+(?=\\D+)/','',$test);
    
print_r($test);
grazie 1000
č praticamente perfetta! mancherebbero le accentate ma va bene anche cosė
grazie ancora