From: scomboni@... Date: 2007-07-26T08:00:10+09:00 Subject: A method to search and cut in Ruby. Hello all, I'm trying to parse some EXIF data and return certain fields of text. If I wanted to parsed a document looking for text and then locating it take everything after a colon : delimitator what is the best method in ruby vs Shell command? For example if I have a file called filename.txt and I want to search for this ---> "Compression : JPEG (old-style)" but only return everything to the right of the delimitator? Using command line tool such as grep to locate and then cut to grab everything after " : " works but I'm trying to learn how to do things like this in Ruby and having no luck grabbing everything to the right of the colon. Some of the text I'm grabbing can contain additional colons and I want everything after the first one. Thanks. Sc--