fork(7) download
  1. <?php
  2.  
  3. $string = "ÁÉÍÓÚáéíóú! äëïöü";
  4. $string = iconv( "UTF-8" , "ASCII//TRANSLIT//IGNORE" , $string );
  5. $string = preg_replace( array( '/[ ]/' , '/[^A-Za-z0-9\-]/' ) , array( '' , '' ) , $string );
  6.  
  7. echo $string;
  8.  
  9. // your code goes here
Success #stdin #stdout 0.01s 20552KB
stdin
Standard input is empty
stdout
AEIOUaeiouaeiou