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 -- Posted via http://www.ruby-forum.com/.