<?php $string = 'The sky is blue'; echo preg_replace_callback( '/(?:[^a-z]*\K[a-z]){4}/i', fn($m) => $m[0] ^ ' ', $string );
You have javascript disabled. You will not be able to edit any code.