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:
26.43 ms | 405 KiB | 5 Q