From: Harry Ohlsen Date: 2003-10-08T15:15:50+09:00 Subject: Re: Parsing challenge... Useko Netsumi wrote: > this script failed if any of the cell is blank/no-value, > e.g: You may be able to simply change each of the "+" (one or more) in the regex into "*" (zero or more). I gave it a quick test and it seems to work OK, but I didn't test very hard. pat = %r{([^^]*)\^([^^]*)\^([^^]*)\^([^^]*)\n}mox Good luck. Harry O.