Hierarchy search "NOT" modifier?

I’d like to search for all gameobjects in the scene Hierarchy that do not contain a specific string. Is this possible?

For example something like “NOT door” would filter the Hierarchy to display every item that does not have “door” in their names. AFAIK “NOT” doesn’t work as an argument, neither does “-” (the dash character).

Thanks!!

Totally agree! I am looking for such a feature right now as I have naming conventions which makes it easy to sort stuff but when I have lots of naming conventions it would be nice to filter out some stuff.
Example:

SearchBar[ b_ t: MeshFilter]

This gives me the results I want but it includes all the meshFilter objects that begin with “b_”.
Now I would like to exclude the ones that have “_Edges”.

Perhaps Unity can add a feature like this:

SearchBar[ b_ !(_Edges) t: MeshFilter]

Would be great to have more control in large projects.

this is not recommended because it is not proficient. there are many ways to organize your object so you dont have to do this. but this is your answer: this find all objects without “door” in the name.

	GameObject[] Everything = UnityEngine.Object.FindObjectsOfType<GameObject>() ;

		int n = Everything.Length;
		while (n>0) {n--;
			if(Everything[n].activeInHierarchy){
			if(!Everything[n].name.Contains("NOT")){
				print ("I found: "+Everything[n].name);
			}
			}
		}