From: Ryan Davis Date: 2012-09-08T07:20:10+09:00 Subject: Re: regix in grep or something like this On Sep 7, 2012, at 15:05 , Ferdous ara wrote: >> Paste the data above into the "text string" box, then try your regexp in >> the regexp box. It'll show what it matches live. You can then tweak the >> regexp until it matches everything you want. > > > I been to these site before but bit confused about how it works > > Under Regular expresson ,i type > > c0d1 > its give me 3 match .. > > but i want only 1 math.. so how that site helping to build regular > expression ?? Writing the regexp is up to you. I'm providing you tools to get faster feedback so you can learn regexps. Also check out my quickref, it has a whole section an what can go into a regexp: http://www.zenspider.com/Languages/Ruby/QuickRef.html#regexen