From: Zach Dennis Date: 2003-10-17T13:05:33+09:00 Subject: Re: regexp problem If your 'numerics' can be numbers larger then 0-9 then I'm going to add to what Bill said: /\d+,\d+,\d+/ This should allows one or more digits followed by a comma, followed by one or more digits, followed by a comma, followed by one more or digits. HTH -Zach -----Original Message----- From: Bill Kelly [mailto:billk@cts.com] Sent: Thursday, October 16, 2003 9:04 PM To: ruby-talk ML Subject: Re: regexp problem Hi, From: "Michael campbell" > Brett S Hallett wrote: > > > > eg : "[0-9]\.[0-9]\,[0-9]" > > /[0-9],[0-9],[0-9]/.match("0,1,2") Also, /\d,\d,\d/ Regards, Bill