регулярни изрази не съдържат
^((?!word).)*$
// Test
/^((?!word).)*$/gi.test('Should not contain word') // Returns false
/^((?!word).)*$/gi.test('John Doe') // Returns true
Регулярен израз не съдържа
^((?!hede).)*$
регулярен израз не съдържа
^(?!keyword).*\n // Regex pattern to find lines that do not contain keyword, incl newline