fork download
  1. <?php
  2.  
  3. $String = "àäåæËÎÏÐðÑ×÷ØÝÞßdvdá";
  4.  
  5. $String = preg_replace("/([^a-zà-úA-ZÀ-Ú ]|[äåæËÎÏÐðÑ×÷ØÝÞß])/u", "", $String);
  6.  
  7. echo $String;
  8.  
Success #stdin #stdout 0.01s 23780KB
stdin
Standard input is empty
stdout
àdvdá