<?php$tweet = "I love #winter and #ice-skating";$tweet = preg_replace('/#([\w-]+)/i', '$1', $tweet);echo $tweet;?>
Standard input is empty
I love winter and ice-skating
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!