From: Sijo Kg Date: 2009-07-14T17:25:11+09:00 Subject: Re: a regex that does not contain comma Hi Thanks for the reply..And I tried in the rails project like validates_format_of :name, :with => /((?>\w+\s*(?=,))+)/ And what I expect is if name has a comma anywhere validation fails .Could you please tel how to get that? Sijo -- Posted via http://www.ruby-forum.com/.