fork(7) download
  1. <?php
  2. $tweet = "I love #winter and #ice-skating";
  3. $tweet = preg_replace('/#([\w-]+)/i', '$1', $tweet);
  4. echo $tweet;
  5. ?>
Success #stdin #stdout 0.02s 13112KB
stdin
Standard input is empty
stdout
I love winter and ice-skating