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/.