3v4l.org

run code in 300+ PHP versions simultaneously
<?php $bericht = preg_replace("/\[url\](.+?)\[\/url\]/si", "<a href='1' target='_blank'\>\\1\<\/a>", $bericht);

preferences:
70.49 ms | 404 KiB | 5 Q