Hi,
I have to remove the speial symbols from list of names. But I want to remain the dot(.) in the name itself. I use ommunity_org_review.name.downcase.strip.squeeze(" ").gsub(/['^''&''!']/, '-').squeeze("-").chomp("-") or org_review.company.downcase.strip.squeeze(" ").gsub(/[^[:alnum:]]/,'-').squeeze("-").chomp("-")
It is sibstituting with hyphen(-), including dot(.) also. I want to remain dot. How to do it. please help.