UKHeliBob:
Start by posting your full sketch using code tags when you do
If you can see MAC addresses in the Serial monitor then you can save them to a variable in order to compare them with know addresses
I could put HC-05 to sniffing mode. On serial monitor I can see MAC addresses of nearby devices with this sketch. I know I should use that MAC address on an if statement, but I dont know exact code.
Does each line start with a + and end with a carriage return ?
If so, then take a look at Serial input basics - updated and use the delimiters as start and end markers to save the whole line in a zero terminated array of chars
Once a line is complete and stored you can parse it to extract the MAC address and compare it with your targets. The thread linked to has an example of parsing a data string