On Fri, 7 Sep 2007, Charles Pareto wrote:
> file.each { |line| print line if line =~ /(C|c)isco|CISCO/ }
...
> Does anyone know how I can modify my reg exp to not include
> certain keywords like SanFrancisco and Francisco?

How about:
/\b([Cc]isco|CISCO)\b/

or even

/\bcisco\b/i

?

-- 
                              (stephan paul) Arif Sahari Wibowo
    _____  _____  _____  _____
   /____  /____/ /____/ /____
  _____/ /      /    / _____/      http://www.arifsaha.com/