Comments containing string1 but not string2, string3, string4 with no macro definition

0

Please login or register to vote for this query.

(click on this box to dismiss)

Mathematics

Q&A for people studying math at any level and professionals in related fields

SELECT Id AS [Comment Link], text, UserId AS [User Link], CreationDate
FROM Comments
WHERE Text LIKE '%##string1?\sp##%'
  AND NOT(Text LIKE '%##string2?\space##%')
  AND NOT(Text LIKE '%##string3?\spadesuit##%')
  AND NOT(Text LIKE '%##string4?\sphericalangle##%')
  AND NOT(Text LIKE '%\newcommand%')
  AND NOT(Text LIKE '%\DeclareMathOperator%')
  AND NOT(Text LIKE '%\def%') 
ORDER BY CreationDate DESC

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results