3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $re = '/Grup [A-Z]/'; $str = 'Grup I: Kroasia vs Islandia'; preg_match_all($re, $str, $matches); // Print the entire match result print_r($matches);
based on dWfDI
Output for 5.6.0 - 7.3.0alpha1
Array ( [0] => Array ( [0] => Grup I ) )