From: Hai anh Le Date: 2008-11-28T10:29:57+09:00 Subject: Re: reg exp p str.scan(/.*?\d+[a-z]*(?: and \d+[a-z]*)?/m) # ["The coefficients are then mixed with the data from mixer 51xy", ", so that the recording equipment 14abc", " stores the six channel data stream, the scripting data 26aa and 27ac"] yes, it is all thing I want. Thank you very much -- Posted via http://www.ruby-forum.com/.