Find all active "print()"s

Is there a way to find all active print()s in an Xcode 12.5 project, so all print()s that aren't preceded by a // or //[space]?

I know that you can search the whole project with the "Find Navigator" (left side) but searching for print(" finds all the active and the inactive ones and //print(" only lists the inactive ones, of course. Unfortunately the search options (Containing, Matching Word, Starting With, Ending With) don't help here (unless I missed something).

Xcode supports searching via regular expressions. In Xcode 13, click on the magnifying glass button, then click on the 'Text' icon above the search bar and choose Regular Expression. You will need to formulate a regex that fits your needs.

Find all active "print()"s
 
 
Q