filter non English lines
Posted: 14 Jun 2018, 10:24
Code: Select all
loop 50
{
FileReadLine,var,textfile.txt,%a_index% ;dynamic contents
FoundPos := RegExMatch(var, "[a-zA-Z0-9,.!?]") ;from https://autohotkey.com/board/topic/149454-how-do-i-identify-non-english-letters-in-a-string/#entry732502
if FoundPos <> 0
List = %List%`n%var%
}
MsgBox %list%