3v4l.org

run code in 300+ PHP versions simultaneously
<?php $re = '/Grup [A-Z]/'; $str = 'Grup I: Kroasia vs Islandia'; $subst = ''; $result = preg_replace($re, $subst, $str); echo "The result of the substitution is ".$result;

preferences:
36.06 ms | 402 KiB | 5 Q