fork(1) download
  1. <?php
  2.  
  3. $link = 'Construction:List:default';
  4. $pattern = '/:(\w)*$/';
  5. echo preg_replace($pattern, '', $link);
Success #stdin #stdout 0.01s 82944KB
stdin
Standard input is empty
stdout
Construction:List