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:
37.61 ms | 402 KiB | 5 Q