3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "hello, how are you?you are fine. i am good too."; $output = preg_split('/[^A-Za-z\s]\s*/', $string, -1, PREG_SPLIT_NO_EMPTY); print_r($output);

preferences:
26.41 ms | 405 KiB | 5 Q