3v4l.org

run code in 300+ PHP versions simultaneously
<?php $re = '/\bStyle Name:\h*\K\S+/m'; $str = 'Style Name: Something Style Name: Something Style Name: Something'; preg_match_all($re, $str, $matches); print_r($matches[0]);

preferences:
34.17 ms | 405 KiB | 5 Q