Okay, a couple of things, there's a link to a University of Florida publication regarding tenants rights in foreclosure. But most importantly, there's no guarantee that the new owner won't be perfectly content to have you stay. There are loads of investors picking up "affordable" properties, and they may be pretty darn happy to have a tenant continue to live in the property.
Two other issues to worry about - your deposit. The old landlord will likely fail to hand over your deposit to the new landlord. Access - by giving access to prospective purchasers, in many ways you're likely to get a much better buyer.
Have you figured out where you want to move to? If you're thinking of renting from a private owner again, give me a call. 786-332-7042