Search function for a repeater

Ethan that worked perfectly thank you so much. Suppose I wanted to combine the search to allow by ‘title’ AND ‘category’ in one search, for example anything with “town A” and “Black” come up in the search query. any suggestions? thanks again