3v4l.org

run code in 300+ PHP versions simultaneously
<?php $extra = '<?xml version="1.0" encoding="UTF-8"?><prato>Nouvelle Cuisine</prato><coreg_3190_resposta>voyages</c'; $regex = '/3190_resposta>([^<]*)/'; preg_match($regex, $extra, $match); print_r( [$match] );

preferences:
43.63 ms | 402 KiB | 5 Q