3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "Someone need an #new icebreaker# to hold that problem"; preg_match("/#new (.+)#/i", $string, $matches); var_dump($matches[1]);

preferences:
44.3 ms | 1987 KiB | 5 Q