From: Mario Trento Date: 2012-02-11T08:50:45+09:00 Subject: Re: How to catch first occurence of Thanks, Peter ! for your example and resources. That worked, I actually need now to capitalize each alpha char, trying to edit your code and looks like I still need to use . I can't do block [A-Z] in target sub. dai -- Posted via http://www.ruby-forum.com/.