Se vuoi escludere la punteggiatura puoi usare un'espressione regolare:
codice:
preg_match_all('/\b\w+\b/',$tua_stringa,$matched);
print_r($matched[0]);