From: Sijo Kg Date: 2009-07-14T19:16:41+09:00 Subject: Re: a regex that does not contain comma Hi Axel Schmalowsky What I need is if there is any comma in the string it should fail and otherwise success .And that is what /^[^,]*$/ gives I think you too correct but in the reverse sense Sijo -- Posted via http://www.ruby-forum.com/.