Select by mask

Hi, @Sven
Is there any way that I can select multiple projects by mask? I mean like:
Or something similar. I’ve tried a couple of ways but didn’t work. Is there any?
I’ve got projects with sub projects and I need to select a various projects and their subprojects too.