Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
([А-Яа-яЁё]+[БбВвГгДдЖжЗзКкЛлМмНнПпРрСсТтФфХхЦцШшЩщ])([ЕеИиОоЫы][Йй]|[АаИиЯя][Яя]|[ИиУуЮю][Юю]|[ЕеИиОоЫы][Ее]|[Мм][ИиУу]|[ОоЕе][Гг][Оо]|[Ии]?[АаЕеОоЫыЯя][Мм]|[АаИи]|[Ьь]|[АаОо][Вв]|[АаЕеИиОо]|[Нн][АаЕеИиОо]|[Сс][Аа]|[УуЫы]|[ЕеОо][Кк]|[ИиЫы][Хх]|[АаЕеЁёИиОоУуЫыЭэЮюЯя]+)$
/
gm

Description

Grabs an ending of russian words. Each word must be on separate line. In development.

Submitted by anonymous - 6 years ago