3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'Re #A4FKA-F2NW9 123test'; preg_match('/#\K\S+/', $str, $matches); echo $matches[0];

preferences:
24.66 ms | 404 KiB | 5 Q