I am using the this regular expression to find all occurrences of INT IDENTITY (1, 1) NOT NULL:
\bINT\s*IDENTITY\s*\(1,\s*1\)\s*NOT\s*NULL\b
A sample of where it is in the whole context is something like:
CREATE TABLE table1 (
[col] INT IDENTITY (1, 1) NOT NULL,
[col2] INT NOT NULL,
[col3] BIT NOT NULL,
[col4] BIT NOT NULL,
[col5] DATETIME NOT NULL,
PRIMARY KEY CLUSTERED ([col] ASC) WITH (FILLFACTOR = 90, ALLOW_PAGE_LOCKS = ON, ALLOW_ROW_LOCKS = ON, PAD_INDEX = OFF, IGNORE_DUP_KEY = OFF, STATISTICS_NORECOMPUTE = OFF)
);
But the regular expression above does not find anything. When I try it online using Rubular, Gskinner, or Regex Hero, it works.