I'm trying to filter webserver log files using grep. I need to output all lines containing 65.55. but exclude those matching lines which contain msnbot.
My starting point is this - but it doesn't work:
grep "^.*65\.55\..*(!msnbot).*$" ex100101.log > results.txt
I'm using grep for Windows (hence double quotes) but I doubt this matters.