I need a regular expression that divides a string, more specifically a complete name of a person, and turns it into an array of words.
$string = "Wallace de Souza Vizerra";
$array = preg_split('/\s+/', $string, -1, PREG_SPLIT_NO_EMPTY);
['Wa...
asked by
03.07.2015 / 22:06