From: Lucky Nl Date: 2012-04-10T18:32:54+09:00 Subject: need to match words from setence Hi friends, I have small requirement Example sentence = "this is important information" Now i want search word "important" from sentence. I can do this match Suppose if i have sentence like case1: sentence = "this is @important, information" in this case i should get to match with word "important" Case2: sentence = "this is &@important,^% information" in this case i should get to match with word "important" this should not match means word has only one traling/leading specialchar would be fine Can anybodyhelp -- Posted via http://www.ruby-forum.com/.