3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $edit = "Audi V8 [C]250000 Kč[/C]"; preg_match("/(.*) ?\[C\](.*)\[\/C\](.*)/i",$edit,$matches); $a = $matches[1]; $b = $matches[2]; echo($a.";".$b); ?>
Output for 4.3.0 - 7.1.0
Audi V8 ;250000 Kč