JOSM filter by name

Is it possible to filter by name? for example buildings or buildings:part

Ohhh…it’s working but i think you cannot have spaces in the name…because,at first, when i’ve tried it i had spaces in my names so it wasn’t working

if you want to filter by a name with spaces, you have to put double quotes around the name in the filter, e.g use

name=“this a some name”

as filter

Thanks!