Wifi network filtering?

Is there a way to filter out wifi networks? Preferably through their ssids? I have a working program that scans available networks in the area and places them on a Json array. I can print them fine but I only need the ssids and rssi values of the other esp modules that im working with.

For example, Im in an area where there are multiple wifi networks and I have 4 modules turned on. Is there a way that I can scan and filter out the other networks?

If the esp nodes have a common substring as part of their ssid, just filter based on that.

Please continue in the Programming section and in future do not post duplicate questions in different sections. If you want a topic moved the click Report to moderator and ask for it to be moved

Sorry guys! Already reported it thanks

How do I filter via substring? Do I do it before scanning of after scanning? Inside the json array?