How could I search without showing hierarchical?

I use filter to copy note to other place ( for example vscode & dida task list) but I don’t want to copy with hierarchical, is there any way to do that?