Вот Вам точка отсчета для решения через циклы
$string = "Hello world! The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested.";
$words=explode(" ",$string);
foreach ($words as $word) {
$letters=str_split($word);
$letters=array_unique($letters);
if (count($letters)!=strlen($word)) {
$result[]=$word;
}
}
print_r($result);
Array
(
[0] => Hello
[1] => standard
[2] => 1500s
[3] => reproduced
[4] => interested.
)
Это не полностью готовое решение, тут еще нужно почистить от запятых и т.д., и решите что делать с цифрами, удалять их или оставить.
Демо тут