Is there a way to perform searches (Find / Find in Files) in visual studio that will exclude matches in comments? While sometimes it is useful, other times it is the opposi
you could try the regex as below:
^~(:b*//).*your_search_term
Short explanation:
^ from beginning of line~( NOT the following:b* any number of white spaces, followed by// the comment start) end of NOT.* any character may appear beforeyour_search_term your search term :-)saw this at another post.