s = "Верёвочка - 12"puts s[/[а-яА-ЯёЁ]+/]puts s[/[а-яё]+/i]
Standard input is empty
Верёвочка Верёвочка
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!