Regex in Notepad++: Find all 'INSERT INTO…;' queries
问题 I have a big sql file that contains a lot of 'create table ...' and 'insert ...' queries. Now I want to eliminate all the 'insert' queries from the file. The insert queries are somewhat like: INSERT INTO 'some_table' (col1, col2, col3) values ('val11','val12','val13'), ('val21','val22','val23'), ('val31','val32','val33'); Using Notepad++ I want to find and delete all these 'INSERT' queries using regular expression. When I tried finding with the regex INSERT INTO((.*\r\n)*) then it selects