<?php $string = "This is my test case for an example."; var_export( preg_split( "/(?=(\S+ \S+))\S+ (?:\S+$)?/", $string, 0, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY ) );
You have javascript disabled. You will not be able to edit any code.