fork download
  1. <?php
  2.  
  3. $text = "\u{0019}hello - ▪ Locatie: ";
  4.  
  5. print($text . "\n\n");
  6.  
  7. $text = preg_replace('/[^\PCc^\PCn^\PCs]/u', '', $text);
  8.  
  9. print($text);
Success #stdin #stdout 0.03s 25836KB
stdin
Standard input is empty
stdout
hello -  ▪ Locatie: 

hello -  ▪ Locatie: