The rules are as follows:
The string must contain only Russian and Latin letters, and is limited to a length of 3 to 25 characters.
No numbers or other characters except the indicated ones.
If possible, you need to add more rules that the string may contain characters қ Қ ӯ Ӯ.
I have got such /^[^a-zA-Zа-ЯА-Я]{3,25}$/i but it does not work.