3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $t = 'toto 147 1.6i 16V 1598 cc 77 Kw / 105 cv AR37203'; preg_match('/^[^.]+/', $t, $matches); print_r($matches);
based on tjJgS
Output for 4.3.0 - 7.1.0
Array ( [0] => toto 147 1 )