How to select non matching lines with a grep?

I want to grep all the files Not containing the expression 'foo'.
I opened the thread because I thought you were asking about how to reconstruct the regular expression from matching strings.
xterm wrote-v
Thank you.

(I actually found it in the man page, I should check it more often ...)