Cleaves beta-linked terminal galactosyl residues from gangliosides, glycoproteins, and glycosaminoglycans. Hydrolysis of terminal non-reducing beta-D-galactose residues in beta-D-galactosides. Homodimer. May form higher multimers. Belongs to the glycosyl hydrolase 35 family.