Using opacity map with principle shader and another color map
Here you go - I plug the black and white image into the mix factor of the mix shader as a way to define where the transparency shader will take effect.