Can you show me exact code using Regex to take number of continues
letter 'o' from "goooglogic"?

Already we know, 'goooglogic'.count('o') will show 5.

Now I expecting the result (continues letter) is 3 from that string.

-- 
Posted via http://www.ruby-forum.com/.