Marcin Miel¥Ê¥·y¥Ê§Ôki wrote: Ooops, the newline in regexp is not needed... > > try this one > > open("file").read.scan(/(\w)\s+(.+?)\s+(\w+)\s+(.*?)$/){|req,num,cls,dsc| > ...} > > lopex lopex