From: Christian Kruse Date: 2002-04-04T00:39:06+09:00 Subject: Re: regular expression question Hoi, On Thu, 4 Apr 2002 00:24:44 +0900 "Firestone, Mark - Technical Support" wrote: > I want to seperate a string of commands seperated by semi-colons... > > here's what I have so far by way of a test... > > happy = input.scan(/[0-9 a-z]+(?=;)/) Why don't you use the 'split' method? pieces = input.split(';'); You can get more infos at 'ri String#split' Greetings, CK