Regex To Match A line That Doesn’t Contain A Specific Word

Category: Strings

A regular expression to match a line that doesn’t contain a word you specify.



  • I’m regex


  • I’m
  • I’m regex

See Also:

Rate This Regex
User Review
0 (0 votes)

Expression Flags

Flags Description
i Ignore case sensitive.
g Allows global search.
m Allows multiline search.