From: Tim Pease Date: 2006-08-31T01:39:59+09:00 Subject: Re: easy question i hope On 8/30/06, Caspar Bl wrote: > hi i need to strip out some boolean operators from search input > this is what i need to remove > params[:search_input].gsub!(/AND|OR|&&|||/,'') > it all works except for || which i suppose is because it is interpreted > as meaning or nothing or nothing. so how can i remove the || from the > input? > regards > caspar > params[:search_input].gsub!(/AND|OR|&&|\|\|/, '') Blessings, TwP