From: Tiago Nogueira Date: 2009-01-27T20:20:22+09:00 Subject: Re: Name Extraction Newb Newb escreveu: > Hi Friends > > i have following string > > jayabharathy@angleritech.com~Vs~kannan@angleritech.com > > the above string has 2 email ids in it.but i need only names of it. > > i want to extract only the names > > jayabharathy > > kannan > > > how can i implemend that > Kindly Let me Know > Hi ! I think you can do this with regular expressions. look some at : http://www.regular-expressions.info/ruby.html http://www.rubyist.net/~slagell/ruby/regexp.html Regards, -tiago