I'm doing a regex search through about 20,000 HTML files using SublimeText and trying to find out of certain CSS classes exist or not. Unfortunately, some classes are similarly named and I want to ignore those ones. For example, I'm looking for files that contain the class "refine search" but not ones that contain "txt_refine_search".
I tried refine_search(?!txt_refine_search)
but it still found "txt_refine_search".
What query should I be using?