Android exclude WiFis In my area I have a lot of paid WiFi hotspots that are open and my android connects to them automatically.

Can I set that WiFi's only with certain keyword in their name(SSID) would not connect to?

EDIT:
Imagine there several hundred hotspots of open wi-fi hotspots on diferent networks configurations and so on. The only common denominator is that all of the have network name in ssid. Lets say 'crazy sheep'

On a flip side same area has hundreds of free open wi-fi hotspots again all in different networks and these have almost no common denominator.

In the past I have done some Android development. So I do not look for settings tutorial. If the function is in stock there is a little chance I will not know about it.

I am looking for

An app that adds an option to write a query (regex is fine) with SSID as a variable in it. That would omit matching networks from initiating connection but would not affect other networks
Tap on those wifi ssid names and and use forget network to remove phone from automatically connecting to the network