for example i have sentenes like this:
$text = \"word, word w.d. word!..\";
I need array like this
Array ( [0] => w
Use the function explode, that will split the string into an array
$words = explode(" ", $text);