Custom queries follows OverpassQL syntax. Only include the statement that selects the nodes, ways and relations.
Example 1:
nwr["tourism"="hostel"](area.searchArea);
Example 2, which utilizes the "()" union syntax that works like an OR:
(nwr["tourism"="hostel"](area.searchArea);nwr["tourism"="motel"](area.searchArea););
Example 3, which utilizes regex instead:
nwr["tourism"~"^(hostel|motel)$"](area.searchArea);
Custom query: