2010-02-21 45 views

回答

3
foreach($array as $key => $value) { 
    if(preg_match($pattern, $value)) { 
     unset($array[$key]); 
    } 
} 
相關問題