I've been racking my brain for hours on this and I'm at my wit's end. I'm beginning to think that this isn't possible for a regular expression.

The closest thing I've seen is this post: [Regular expression to match a line that doesn't contain a word?](https://stackoverflow.com/questions/406230/regular-expression-to-match-string-not-containing-a-word), but the solution doesn't work when I replace "hede" with the number.

I want to select EACH *line* that DOES NOT contain: **377681** so that I can delete it.

```
^((?!377681).)*$ 

```

...doesn't work, along with thousands of other examples/tweaks that I've found or done.

Is this possible?