Answer the question
In order to leave comments, you need to log in
A simple regular expression to find plural endings in a string?
Good afternoon! Please help me with a regular expression to find the presence of plural endings in the search string. I myself do not often encounter regular seasons, so I do not master them in skill. A quick google didn't turn up any results either. Here is the code:
Match suffix = Regex.Match(inputText.text,"[АЯ,ЫЕ,ЫЙ,ЬЯ]");
if(suffix.Success){
Debug.Log("множественное окончание:" + suffix.Value);
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question