3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = '<strong>Название:</strong> Best of Web<br /><strong>Год выхода:<'; if (preg_match('#>Название(:?)</(span|strong|b|p)>(.*?)<br#is', $string, $matches)) { if(isset($matches[3])) $value = trim(strip_tags($matches[3])); } echo $value;

preferences:
59.99 ms | 402 KiB | 5 Q