<?php
header("Content-Type: text/plain; charset=utf-8");
$text = <<<EOF
МУУ ГООУО ОПП по Удмуртинской Области объявляет конкурс на поставку кaнцелярских тoваров на сумму 100500 руб.
EOF;
$regex = '/([а-яёА-ЯЁ]+)([a-zA-Z]+)([а-яёА-ЯЁ]*)/u';
foreach ($matches[0] as $key=>$match) {
echo 'Опечатка в слове ' . $match . ': ' . $matches[1][$key] . '[' . $matches[2][$key] .
']' . $matches[3][$key] . "\n";
}
PD9waHAKaGVhZGVyKCJDb250ZW50LVR5cGU6IHRleHQvcGxhaW47IGNoYXJzZXQ9dXRmLTgiKTsKZXJyb3JfcmVwb3J0aW5nKEVfQUxMIHwgRV9TVFJJQ1QpOwoKJHRleHQgPSA8PDxFT0YK0JzQo9CjINCT0J7QntCj0J4g0J7Qn9CfINC/0L4g0KPQtNC80YPRgNGC0LjQvdGB0LrQvtC5INCe0LHQu9Cw0YHRgtC4INC+0LHRitGP0LLQu9GP0LXRgiDQutC+0L3QutGD0YDRgSDQvdCwINC/0L7RgdGC0LDQstC60YMg0Lph0L3RhtC10LvRj9GA0YHQutC40YUg0YJv0LLQsNGA0L7QsiDQvdCwINGB0YPQvNC80YMgMTAwNTAwINGA0YPQsS4KRU9GOwoKJHJlZ2V4ID0gJy8oW9CwLdGP0ZHQkC3Qr9CBXSspKFthLXpBLVpdKykoW9CwLdGP0ZHQkC3Qr9CBXSopL3UnOwoKcHJlZ19tYXRjaF9hbGwoJHJlZ2V4LCR0ZXh0LCRtYXRjaGVzKTsKCmZvcmVhY2ggKCRtYXRjaGVzWzBdIGFzICRrZXk9PiRtYXRjaCkgewogICAgZWNobyAn0J7Qv9C10YfQsNGC0LrQsCDQsiDRgdC70L7QstC1ICcgLiAkbWF0Y2ggLiAnOiAnIC4gJG1hdGNoZXNbMV1bJGtleV0gLiAnWycgLiAkbWF0Y2hlc1syXVska2V5XSAuCiAgICAgICAgJ10nIC4gJG1hdGNoZXNbM11bJGtleV0gLiAiXG4iOwp9