puts 'a,C,f,G, but, NOT abc de'.scan(/\b[[:alpha:]]\b/)
Standard input is empty
a C f G
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!