The 548, 3904 are general purpose NPN transistors. The 3906 is PNP.The first two can be inter changed.
I think the BC series are common across the pond and 2N are Europe. I could be wrong though.
EDIT: The 548 is 100mA, 30V. The 3904 is 200mA, 40V. So compatible within the specs.
Martin