3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'Dit is een vb. test. Leuk he. Jazeker.'; $string = preg_replace('/^\. [A-Z]$/', '. <br>', $string); echo $string;

preferences:
43.37 ms | 402 KiB | 5 Q