Test, validate and match regular expressions
This regex matches the exact literal string 'NOT' (case-sensitive, uppercase only), making it useful for finding logical negation keywords in code, SQL queries, or boolean expressions. The global flag (g) ensures all occurrences are found throughout the input text rather than stopping at the first match. The multiline flag (m) activates line-boundary matching for ^ and $ anchors, though it has no practical effect on this pattern since no anchors are used.