fork(1) download
  1. <?php
  2.  
  3. // your code goes here
  4.  
  5. echo preg_replace("/[^\p{L}\p{M}\p{N}\p{P}\p{S}]/u", "", "a…Œ•a");
Success #stdin #stdout 0.01s 20568KB
stdin
Standard input is empty
stdout
    a…Œ•a