3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $var = '0BR Apartement'; preg_match("#^0BR ([a-zA-Z/ \-]*)$#", $var, $matches,PREG_OFFSET_CAPTURE); print_r($matches);
based on VS6FH
Output for 5.5.0 - 7.3.0rc4
Array ( [0] => Array ( [0] => 0BR Apartement [1] => 0 ) [1] => Array ( [0] => Apartement [1] => 4 ) )