Since it appears many people are replacing their carpets with hard surface flooring, i.e. hardwood, laminate or tile, I would address some of the trade-offs.
Now a freshly finished hardwood floor looks fabulous!! It's also true that 90% of the allergens and pollutants in a house are found in the carpet. But those allergens and pollutants are floating around a house anyway and end up on whatever flooring you have. So I understand people's desire to clean their floor. They are concerned about cleanliness and allergies.
But let's look at the trade-offs.
A hardwood floor might look awesome and is easier to sanitized but it is:
Carpeting, on the other hand:
TAKE THE TEST
If you want to experience the difference between hard surface flooring and carpet there is a very simple test you can do. Next time you're walking around the house in barefeet, just throw a towel on the floor.
Step on, step off, step on, step off.
When I do that its feels like a 5 degree increase in temperature when I'm on the towel. It just feels better.
So before you tear up your carpet consider a professional, thorough cleaning.
PET ACCIDENTS may be easier to clean on carpet rather than hardwood or laminate. If the urine soaks into the flooring, I can often remedy the problem on carpet. With hardwood, it might be able to be sanded out.
On laminate however, it will need replacement. One client couldn't find a match, it had gone out of stock. She had to replace her entire floor, ie the Living room, the dining room, the hallway, the den, just to repair a 4 sf area that a dog had urinated on.