local string = "abcd LastMatch РОДИНА" for match in string:gmatch("%f[%a]%a+%f[%A]") do print(match)end
Standard input is empty
abcd LastMatch
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!