Find lines that don't contain a pattern in Vim

With very magic mode - \v:

/\v^(.*pattern.*)@!