From: Bob Showalter Date: 2005-12-06T05:29:22+09:00 Subject: Re: String split drops the delimiter basi wrote: > Hello: > > string.split drops the delimiter. Thus: > I'd like the result to retain the delimiter, thus: > > Any easy way to do this? How about: puts data.scan(/\S.*?[.!?]/)