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

hello