Filter Tag Browse by path

I would like to filter a tag browse by the path of the tags.
Example if the path contains “tank” I want to see the tags related to tanks and if contains “pumps” the ones related to pumps and I would like to it by dynamically filtering

thank you