From: "J. Cooper" Date: 2008-02-21T05:41:49+09:00 Subject: Re: regex question Paul wrote: > You could try matching anything that's not a -, + or number in your > first > group, e.g. > > ([^-+0-9]*) > > Note that I'm assuming Ruby uses Perl Compatible Regular Expressions > > Cheers, > > Paul But then a message like: "I'm 3 years old and have 80 points" wouldn't come out right, correct? -- Posted via http://www.ruby-forum.com/.