3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str="My name's #jeff,what is thy name?"; preg_match("/#\w+/", $str, $matches); echo $matches[0] ?>
based on 7pfS5
Output for 5.6.0 - 7.3.0alpha1
#jeff