RsD0p9BK
6/16/2014 - 6:45 AM

split_words.php

// разбить текст на слова
$pattern = "/[^a-zA-Zа-яА-ЯёЁ]+/ui";
preg_match($pattern, $text, $matches);