Earlier it looked as if only generic forms of Zantac were creating problems but now all Zantac/ranitidine has been recalled:
FDA Requests Removal of All Ranitidine Products (Zantac) from the Market | FDA
Valsartan was found to contain the same harmful ingredient (NDMA) as ranitidine. It's not clear to me whether just the generic form of valsartan was recalled or if the brand-name versions were recalled as well.
Valsartan Recall | Why Is the FDA Recalling Valsartan?
Generic drugs can usually be taken instead of the brand-name drugs but there have been questions about some of them:
Do generic drugs compromise on quality? - Harvard Health
I don't know of a Website that lists which stores carry which generics but at Drugs.com you can find out all of the names for a specific drug (generic and brand names).