$sStringRU = 'Определить тип строки на русском или на английском языке.'
$iCheckRU = StringRegExp($sStringRU, '[а-я,А-Я]', 0)
If $iCheckRU Then
MsgBox(0, 'RU', 'Rus')
Else
MsgBox(0, 'No RU', ' No Rus')
EndIf
$sStringEN = 'AutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI and general scripting.'
$iCheckEN = StringRegExp($sStringEN, '[a-z,A-Z]', 0)
If $iCheckEN Then
MsgBox(0, 'EN', 'EN')
Else
MsgBox(0, 'No EN', ' No EN')
EndIf