3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = '0BR Apartement'; preg_match("#^0BR ([a-zA-Z/ \-]*)$#", $var, $matches,PREG_OFFSET_CAPTURE); print_r($matches);

preferences:
62.08 ms | 402 KiB | 5 Q